mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 07:07:32 -06:00
drop nph and just use nixpkgs nph
This commit is contained in:
parent
7954a68f04
commit
a38851ddb0
1 changed files with 0 additions and 28 deletions
|
@ -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;
|
|
||||||
})
|
|
Loading…
Reference in a new issue