python3Packages.cryptography: Pass py into checkInputs

and set format.
This commit is contained in:
Martin Weinelt 2022-12-30 17:23:48 +01:00
parent b5901055ef
commit cc00c2949b
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,7 @@
, pretend
, libiconv
, iso8601
, py
, pytz
, hypothesis
}:
@ -28,6 +29,7 @@ in
buildPythonPackage rec {
pname = "cryptography";
version = "38.0.4"; # Also update the hash in vectors.nix
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -63,6 +65,7 @@ buildPythonPackage rec {
hypothesis
iso8601
pretend
py
pytestCheckHook
pytest-benchmark
pytest-subtests

View file

@ -4,6 +4,7 @@ buildPythonPackage rec {
pname = "cryptography-vectors";
# The test vectors must have the same version as the cryptography package
inherit (cryptography) version;
format = "setuptools";
src = fetchPypi {
pname = "cryptography_vectors";