nixpkgs/pkgs/development/python-modules/passlib/default.nix

26 lines
512 B
Nix
Raw Normal View History

{ buildPythonPackage
2017-09-06 17:04:56 +01:00
, fetchPypi
, nose
, bcrypt
2017-12-04 14:09:21 +00:00
, argon2_cffi
2017-09-06 17:04:56 +01:00
}:
buildPythonPackage rec {
pname = "passlib";
2017-09-06 17:09:45 +01:00
version = "1.7.1";
2017-09-06 17:04:56 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-09-06 17:09:45 +01:00
sha256 = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0";
2017-09-06 17:04:56 +01:00
};
checkInputs = [ nose ];
2017-12-04 14:09:21 +00:00
propagatedBuildInputs = [ bcrypt argon2_cffi ];
2017-09-06 17:04:56 +01:00
meta = {
description = "A password hashing library for Python";
homepage = https://code.google.com/p/passlib/;
};
2017-12-04 14:09:21 +00:00
}