Merge pull request #16605 from adnelson/bcrypt_use_github
python brcrypt: use a git snapshot instead of pypi to get test suite
This commit is contained in:
commit
a66e53d71b
@ -4325,14 +4325,16 @@ in modules // {
|
|||||||
};
|
};
|
||||||
|
|
||||||
bcrypt = buildPythonPackage rec {
|
bcrypt = buildPythonPackage rec {
|
||||||
name = "bcrypt-2.0.0";
|
name = "bcrypt-${version}";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/b/bcrypt/${name}.tar.gz";
|
url = "https://api.github.com/repos/pyca/bcrypt/tarball/${version}";
|
||||||
sha256 = "8b2d197ef220d10eb74625dde7af3b10daa973ae9a1eadd6366f763fad4387fa";
|
name = "bcrypt-${version}.tar.gz";
|
||||||
|
sha256 = "14i1yp4qkjklx82jl61cjjcw367lc0pkvnix3gaz451ijdcmz3x8";
|
||||||
};
|
};
|
||||||
|
buildInputs = with self; [ pycparser mock pytest py ];
|
||||||
buildInputs = with self; [ pycparser mock pytest py ] ++ optionals (!isPyPy) [ cffi ];
|
propagatedBuildInputs = with self; optional (!isPyPy) cffi;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user