blob: 1cec80fa93330eddaaeeb3db789d58862e538b73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ fetchPypi, unzip, stdenv, pname, version, jarHash }:
stdenv.mkDerivation rec {
inherit pname version;
src = fetchPypi {
inherit pname version;
format = "wheel";
python = "py3";
dist = "py3";
hash = jarHash;
};
dontUnpack = true;
nativeBuildInputs = [ unzip ];
installPhase = ''
unzip ${src}
install -D ./skein/java/skein.jar $out
'';
}
|