Unverified Commit 4e16ef22 authored by Mikael Voss's avatar Mikael Voss
Browse files

xnec2c: switch to GitHub source

parent 00c05c84
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchFromGitHub,
  autoreconfHook,
  wrapGAppsHook3,
  pkg-config,
@@ -17,9 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
  pname = "xnec2c";
  version = "4.4.16";

  src = fetchurl {
    url = "https://www.xnec2c.org/releases/${finalAttrs.pname}-v${finalAttrs.version}.tar.gz";
    hash = "sha256-XiZi8pfmfHjGpePkRy/pF1TA+5RdxX4AGuKzG5Wqrmk=";
  src = fetchFromGitHub {
    owner = "KJ7LNW";
    repo = "xnec2c";
    tag = "v${finalAttrs.version}";
    hash = "sha256-W8JwbCSXt5cjgncOzV1wltPnJxwWC6B29eaT8emIU9Y=";
  };

  nativeBuildInputs = [