1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/python-modules/argon2_cffi/default.nix
2018-01-07 09:00:11 +01:00

32 lines
583 B
Nix

{ lib
, cffi
, six
, hypothesis
, pytest
, wheel
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "argon2_cffi";
version = "18.1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "7e4b75611b73f53012117ad21cdde7a17b32d1e99ff6799f22d827eb83a2a59b";
};
propagatedBuildInputs = [ cffi six ];
checkInputs = [ hypothesis pytest wheel ];
checkPhase = ''
pytest tests
'';
meta = {
description = "Secure Password Hashes for Python";
homepage = https://argon2-cffi.readthedocs.io/;
};
}