2017-09-06 17:04:56 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, bcrypt
|
|
|
|
}:
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
propagatedBuildInputs = [ bcrypt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A password hashing library for Python";
|
|
|
|
homepage = https://code.google.com/p/passlib/;
|
|
|
|
};
|
|
|
|
}
|