3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hkdf/default.nix
2019-02-17 14:40:50 +01:00

32 lines
560 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "hkdf";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1jhxk5vhxmxxjp3zj526ry521v9inzzl8jqaaf0ma65w6k332ak2";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
# no tests in PyPI tarball
doCheck = false;
meta = with stdenv.lib; {
description = "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)";
homepage = "https://github.com/casebeer/python-hkdf";
license = licenses.bsd2;
};
}