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

25 lines
491 B
Nix
Raw Normal View History

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