nix-bitcoin/pkgs/python-packages/specific-versions/cryptography_41/vectors.nix
Jonas Nick c1b370aaa6
update nixpkgs
btcpayserver: 1.11.2 -> 1.11.4
clightning: 23.05.2 -> 23.08.1
hwi: 2.2.1 -> 2.3.1

Remove custom coincurve, since nixos-23.05 includes the latest version
of coincurve (18) that's required by pyln-proto.

Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2023-09-16 13:40:27 +00:00

38 lines
909 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, setuptools
}:
buildPythonPackage rec {
pname = "cryptography-vectors";
# The test vectors must have the same version as the cryptography package
inherit (cryptography) version;
format = "pyproject";
src = fetchPypi {
pname = "cryptography_vectors";
inherit version;
hash = "sha256-gN4EUsSzT1b1UY6B69dba5BfVyiq7VIdQuQfTryKQ/s=";
};
nativeBuildInputs = [
setuptools
];
# No tests included
doCheck = false;
pythonImportsCheck = [
"cryptography_vectors"
];
meta = with lib; {
description = "Test vectors for the cryptography package";
homepage = "https://cryptography.io/en/latest/development/test-vectors/";
downloadPage = "https://github.com/pyca/cryptography/tree/master/vectors";
license = with licenses; [ asl20 bsd3 ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}