depot/third_party/nixpkgs/pkgs/development/python-modules/bcrypt/3_1.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

23 lines
614 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi
, isPyPy, cffi, pytest, six }:
buildPythonPackage rec {
version = "3.1.7";
pname = "bcrypt";
src = fetchPypi {
inherit pname version;
sha256 = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;
meta = with lib; {
description = "Modern password hashing for your software and your servers";
homepage = "https://github.com/pyca/bcrypt/";
license = licenses.asl20;
maintainers = with maintainers; [ domenkozar ];
};
}