repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
skein
/
skeinjar.nix
blob
74df5ea12b8c8737e641460104d75a11c9c37bc9
1
{
2
fetchPypi,
3
unzip,
4
stdenv,
5
pname,
6
version,
7
jarHash,
8
}:
9
10
stdenv.mkDerivation rec {
11
inherit pname version;
12
13
src = fetchPypi {
14
inherit pname version;
15
format = "wheel";
16
python = "py3";
17
dist = "py3";
18
hash = jarHash;
19
};
20
21
dontUnpack = true;
22
23
nativeBuildInputs = [ unzip ];
24
25
installPhase = ''
26
unzip ${src}
27
install -D ./skein/java/skein.jar $out
28
'';
29
}