3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.bcrypt: 3.1.0 -> 3.1.2

This commit is contained in:
Jörg Thalheim 2017-01-13 16:19:46 +01:00
parent 69ed58d88f
commit 1f6ca0f37b
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 24 additions and 18 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, isPyPy, fetchurl
, cffi, pycparser, mock, pytest, py }:
with stdenv.lib;
buildPythonPackage rec {
name = "bcrypt-${version}";
version = "3.1.2";
src = fetchurl {
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
sha256 = "1al54xafv1aharpb22yv5rjjc63fm60z3pn2shbiq48ah9f1fvil";
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = optional (!isPyPy) cffi;
meta = {
maintainers = with maintainers; [ domenkozar ];
description = "Modern password hashing for your software and your servers";
license = licenses.asl20;
homepage = https://github.com/pyca/bcrypt/;
};
}

View file

@ -4781,24 +4781,7 @@ in {
}; };
}; };
bcrypt = buildPythonPackage rec { bcrypt = callPackage ../development/python-modules/bcrypt.nix { };
name = "bcrypt-${version}";
version = "3.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
sha256 = "e54820d8b9eff357d1003f5b8d4b949a632b76b89610d8a933783fd476033ebe";
};
buildInputs = with self; [ pycparser mock pytest py ];
propagatedBuildInputs = with self; optional (!isPyPy) cffi;
meta = {
maintainers = with maintainers; [ domenkozar ];
description = "Modern password hashing for your software and your servers";
license = licenses.asl20;
homepage = https://github.com/pyca/bcrypt/;
};
};
cffi = if isPyPy then null else buildPythonPackage rec { cffi = if isPyPy then null else buildPythonPackage rec {
name = "cffi-1.9.1"; name = "cffi-1.9.1";