mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
python3Packages.cryptography: Pass py into checkInputs
and set format.
This commit is contained in:
parent
b5901055ef
commit
cc00c2949b
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user