66e625348e
- Use prebuilt jar to get around maven builds being non-reproducible - Remove unnecessary propagated dependencies - Inherit java version from hadoop
21 lines
339 B
Nix
21 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
|
|
'';
|
|
}
|