python312Packages.cryptography: 43.0.1 -> 44.0.0
https://cryptography.io/en/latest/changelog/#v44-0-0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
certifi,
|
||||
cffi,
|
||||
cryptography-vectors ? (callPackage ./vectors.nix { }),
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
isPyPy,
|
||||
libiconv,
|
||||
libxcrypt,
|
||||
@@ -24,21 +24,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptography";
|
||||
version = "43.0.1"; # Also update the hash in vectors.nix
|
||||
version = "44.0.0"; # Also update the hash in vectors.nix
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ID6Sp1cW2M+0kdxHx54X0NkgfM/8vLNfWY++RjrjRE0=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyca";
|
||||
repo = "cryptography";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-A+qYW8GksYk+FQG8ZJHNYrjcouE1CsVH0Lko2ahoYUI=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
sourceRoot = "${pname}-${version}/${cargoRoot}";
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-wiAHM0ucR1X7GunZX8V0Jk2Hsi+dVdGgDKqcYjSdD7Q=";
|
||||
hash = "sha256-LJIY2O8ul36JQmhiW8VhLCQ0BaX+j+HGr3e8RUkZpc8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -46,8 +47,6 @@ buildPythonPackage rec {
|
||||
--replace-fail "--benchmark-disable" ""
|
||||
'';
|
||||
|
||||
cargoRoot = "src/rust";
|
||||
|
||||
build-system = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "cryptography_vectors";
|
||||
inherit version;
|
||||
hash = "sha256-aKD8GP4nswnpM6KTpU8zVreKFMFSB+lsn/hWga8FCd4=";
|
||||
hash = "sha256-EGIodmxFuaX/0aiz4lTwVgyCHaedXNf9EToX43U1gKs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
Reference in New Issue
Block a user