l nichtparasoup: cf164b5 -> c6dcd0d

This commit is contained in:
lassulus 2018-05-04 20:59:08 +02:00
parent 24a3d64301
commit e1a0d9409d

View File

@ -7,19 +7,9 @@ let
src = pkgs.fetchFromGitHub {
owner = "k4cg";
repo = "nichtparasoup";
rev = "cf164b5";
sha256 = "09bwh76agp14j8rv7bp47jcwhffc1b0bak0ikvzxyphph5lyidk9";
};
patchedSrc = stdenv.mkDerivation {
name = "nichtparasoup";
inherit src;
patches = [ ./exception.patch ];
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
installPhase = ''
mkdir -p $out
cp -r * $out/
'';
rev = "c6dcd0d";
sha256 = "10xy20bjdnd5bjv2hf6v5y5wi0mc9555awxkjqf57rk6ngc5w6ss";
};
in pkgs.writeDashBin "nichtparasoup" ''
${py}/bin/python ${patchedSrc}/nichtparasoup.py "$@"
${py}/bin/python ${src}/nichtparasoup.py "$@"
''