nixpkgs/pkgs/development/python-modules/skein/skeinjar.nix
illustris 66e625348e python3Packages.skein: fix broken package
- Use prebuilt jar to get around maven builds being non-reproducible
- Remove unnecessary propagated dependencies
- Inherit java version from hadoop
2022-04-18 13:40:25 +05:30

20 lines
339 B
Nix

{ 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
'';
}