pythonPackages.cryptography-vectors: make internal to cryptography
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, callPackage
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, setuptools-rust
|
||||
, openssl
|
||||
, cryptography_vectors
|
||||
, Security
|
||||
, packaging
|
||||
, six
|
||||
@@ -20,6 +20,9 @@
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
let
|
||||
cryptography-vectors = callPackage ./vectors.nix { };
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptography";
|
||||
version = "36.0.2"; # Also update the hash in vectors.nix
|
||||
@@ -55,7 +58,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
cryptography_vectors
|
||||
cryptography-vectors
|
||||
hypothesis
|
||||
iso8601
|
||||
pretend
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, cryptography }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptography_vectors";
|
||||
# The test vectors must have the same version as the cryptography package:
|
||||
pname = "cryptography-vectors";
|
||||
# The test vectors must have the same version as the cryptography package
|
||||
inherit (cryptography) version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "cryptography_vectors";
|
||||
inherit version;
|
||||
sha256 = "sha256-KnkkRJoDAl+vf4dUpvQgAAHKshBzSmzmrB9r2s06aOQ=";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user