mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 09:13:56 +00:00
34 lines
783 B
Nix
34 lines
783 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
uv-build,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptography-vectors";
|
|
# The test vectors must have the same version as the cryptography package
|
|
inherit (cryptography) version src;
|
|
pyproject = true;
|
|
|
|
sourceRoot = "${src.name}/vectors";
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "cryptography_vectors" ];
|
|
|
|
meta = {
|
|
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 lib.licenses; [
|
|
asl20
|
|
bsd3
|
|
];
|
|
maintainers = with lib.maintainers; [ mdaniels5757 ];
|
|
};
|
|
}
|