1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/bcrypt/default.nix

24 lines
648 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, isPyPy, fetchPypi
, cffi, pycparser, mock, pytest, py, six }:
2017-01-13 15:19:46 +00:00
with stdenv.lib;
buildPythonPackage rec {
2019-01-17 15:12:52 +00:00
version = "3.1.6";
pname = "bcrypt";
2017-01-13 15:19:46 +00:00
src = fetchPypi {
inherit pname version;
2019-01-17 15:12:52 +00:00
sha256 = "44636759d222baa62806bbceb20e96f75a015a6381690d1bc2eda91c01ec02ea";
2017-01-13 15:19:46 +00:00
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = [ six ] ++ optional (!isPyPy) cffi;
2017-01-13 15:19:46 +00:00
meta = {
maintainers = with maintainers; [ domenkozar ];
description = "Modern password hashing for your software and your servers";
license = licenses.asl20;
homepage = https://github.com/pyca/bcrypt/;
};
}