From a38851ddb01a0e20047b81c4687cc7764b36ab0f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 8 Jan 2025 10:51:37 -0600 Subject: [PATCH] drop nph and just use nixpkgs nph --- pkgs/nim/nph/default.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 pkgs/nim/nph/default.nix diff --git a/pkgs/nim/nph/default.nix b/pkgs/nim/nph/default.nix deleted file mode 100644 index 1993403..0000000 --- a/pkgs/nim/nph/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - fetchFromGitHub, - buildNimPackage, - nim-2_0, -}: -let - buildNimPackage' = buildNimPackage.override { - # Do not build with Nim-2.2.x. - nim2 = nim-2_0; - }; -in -buildNimPackage' (finalAttrs: { - pname = "nph"; - version = "0.6.1"; - src = fetchFromGitHub { - owner = "arnetheduck"; - repo = "nph"; - rev = "v${finalAttrs.version}"; - hash = "sha256-RIuggg09l7jZDg91FPrjwdoE+gCxgb7c8fEvCiwQk5U="; - }; - # replace gorge(git...) call to for version - patchPhase = '' - runHook prePatch - sed -i 's/Version = gorge(.*/Version = """v${finalAttrs.version}\n"""/' src/nph.nim - runHook postPatch - ''; - doCheck = false; -})