2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, bcrypt
|
|
|
|
, argon2_cffi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "passlib";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "1.7.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ bcrypt argon2_cffi ];
|
2021-12-06 16:07:01 +00:00
|
|
|
propagatedNativeBuildInputs = [ argon2_cffi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A password hashing library for Python";
|
|
|
|
homepage = "https://code.google.com/p/passlib/";
|
|
|
|
};
|
|
|
|
}
|