5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
22 lines
385 B
Nix
22 lines
385 B
Nix
{ 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
|
|
'';
|
|
}
|