Merge pull request #32335 from makefu/pkgs/devpi-common/update
init devpi-server at 4.3.1, bump devpi-client
This commit is contained in:
31
pkgs/development/python-modules/argon2_cffi/default.nix
Normal file
31
pkgs/development/python-modules/argon2_cffi/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, cffi
|
||||
, six
|
||||
, hypothesis
|
||||
, pytest
|
||||
, wheel
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argon2_cffi";
|
||||
version = "16.3.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ap3il3j1pjyprrhpfyhc21izpmhzhfb5s69vlzc65zvd1nj99cr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi six ];
|
||||
checkInputs = [ hypothesis pytest wheel ];
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Secure Password Hashes for Python";
|
||||
homepage = https://argon2-cffi.readthedocs.io/;
|
||||
};
|
||||
}
|
||||
@@ -2,20 +2,18 @@
|
||||
|
||||
with pythonPackages;buildPythonPackage rec {
|
||||
pname = "devpi-common";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d89634a57981ed43cb5dcd25e00c9454ea111189c5ddc08d945b3d5187ada5fd";
|
||||
sha256 = "0rh119iw5hk41gsvbjr0wixvl1i4f0b1vcnw9ym35rmcp517z0wb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests py ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
# Don't know why this test is failing!
|
||||
substituteInPlace testing/test_request.py --replace "test_env" "noop_test_env"
|
||||
py.test
|
||||
'';
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, fetchPypi
|
||||
, nose
|
||||
, bcrypt
|
||||
, argon2_cffi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -16,10 +17,10 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ bcrypt ];
|
||||
propagatedBuildInputs = [ bcrypt argon2_cffi ];
|
||||
|
||||
meta = {
|
||||
description = "A password hashing library for Python";
|
||||
homepage = https://code.google.com/p/passlib/;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
27
pkgs/development/python-modules/pytest-timeout/default.nix
Normal file
27
pkgs/development/python-modules/pytest-timeout/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pexpect
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-timeout";
|
||||
version = "1.2.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1kdp6qbh5v1168l99rba5yfzvy05gmzkmkhldgp36p9xcdjd5dv8";
|
||||
};
|
||||
buildInputs = [ pytest ];
|
||||
checkInputs = [ pytest pexpect ];
|
||||
checkPhase = ''pytest -ra'';
|
||||
|
||||
meta = with lib;{
|
||||
description = "py.test plugin to abort hanging tests";
|
||||
homepage = http://bitbucket.org/pytest-dev/pytest-timeout/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user