Files
nixpkgs/pkgs/development/python-modules/bcrypt/default.nix
T

25 lines
690 B
Nix
Raw Normal View History

2021-01-25 09:26:54 +01:00
{ lib, buildPythonPackage, isPyPy, fetchPypi, pythonOlder
2017-02-01 00:46:19 -05:00
, cffi, pycparser, mock, pytest, py, six }:
2017-01-13 16:19:46 +01:00
buildPythonPackage rec {
2020-08-16 19:30:53 +02:00
version = "3.2.0";
2017-05-27 11:25:35 +02:00
pname = "bcrypt";
2020-08-16 19:11:30 -07:00
disabled = pythonOlder "3.6";
2017-01-13 16:19:46 +01:00
2018-06-23 15:27:58 +02:00
src = fetchPypi {
inherit pname version;
2020-08-16 19:30:53 +02:00
sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29";
2017-01-13 16:19:46 +01:00
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;
meta = with lib; {
2017-01-13 16:19:46 +01:00
maintainers = with maintainers; [ domenkozar ];
description = "Modern password hashing for your software and your servers";
license = licenses.asl20;
homepage = "https://github.com/pyca/bcrypt/";
2017-01-13 16:19:46 +01:00
};
}