2022-04-27 09:35:20 +00:00
|
|
|
{ fetchPypi, unzip, stdenv, pname, version, jarHash }:
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-04-27 09:35:20 +00:00
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
format = "wheel";
|
2022-09-30 11:47:45 +00:00
|
|
|
python = "py3";
|
|
|
|
dist = "py3";
|
2022-04-27 09:35:20 +00:00
|
|
|
hash = jarHash;
|
|
|
|
};
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
dontUnpack = true;
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2022-04-27 09:35:20 +00:00
|
|
|
unzip ${src}
|
2022-09-30 11:47:45 +00:00
|
|
|
install -D ./skein/java/skein.jar $out
|
2020-06-15 15:56:04 +00:00
|
|
|
'';
|
|
|
|
}
|