My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/skein/skeinjar.nix

20 lines
339 B

{ fetchPypi, unzip, stdenv, pname, version, jarHash }:
stdenv.mkDerivation rec {
inherit pname version;
src = fetchPypi {
inherit pname version;
format = "wheel";
hash = jarHash;
};
dontUnpack = true;
nativeBuildInputs = [ unzip ];
installPhase = ''
unzip ${src}
mv ./skein/java/skein.jar $out
'';
}