l nichtparasoup: cf164b5 -> c6dcd0d
This commit is contained in:
parent
24a3d64301
commit
e1a0d9409d
@ -7,19 +7,9 @@ let
|
|||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "k4cg";
|
owner = "k4cg";
|
||||||
repo = "nichtparasoup";
|
repo = "nichtparasoup";
|
||||||
rev = "cf164b5";
|
rev = "c6dcd0d";
|
||||||
sha256 = "09bwh76agp14j8rv7bp47jcwhffc1b0bak0ikvzxyphph5lyidk9";
|
sha256 = "10xy20bjdnd5bjv2hf6v5y5wi0mc9555awxkjqf57rk6ngc5w6ss";
|
||||||
};
|
|
||||||
patchedSrc = stdenv.mkDerivation {
|
|
||||||
name = "nichtparasoup";
|
|
||||||
inherit src;
|
|
||||||
patches = [ ./exception.patch ];
|
|
||||||
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp -r * $out/
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
in pkgs.writeDashBin "nichtparasoup" ''
|
in pkgs.writeDashBin "nichtparasoup" ''
|
||||||
${py}/bin/python ${patchedSrc}/nichtparasoup.py "$@"
|
${py}/bin/python ${src}/nichtparasoup.py "$@"
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user