biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / filesystems / ceph / old-python-packages / cryptography-vectors.nix
blob74fd8dd95676864d188217f2caf1b29d3e75c7dc
1 # This older version only exists because `ceph` needs it, see `cryptography.nix`.
3   buildPythonPackage,
4   fetchPypi,
5   lib,
6   cryptography,
7 }:
9 buildPythonPackage rec {
10   pname = "cryptography-vectors";
11   # The test vectors must have the same version as the cryptography package
12   inherit (cryptography) version;
13   format = "setuptools";
15   src = fetchPypi {
16     pname = "cryptography_vectors";
17     inherit version;
18     hash = "sha256-hGBwa1tdDOSoVXHKM4nPiPcAu2oMYTPcn+D1ovW9oEE=";
19   };
21   # No tests included
22   doCheck = false;
24   pythonImportsCheck = [ "cryptography_vectors" ];
26   meta = with lib; {
27     description = "Test vectors for the cryptography package";
28     homepage = "https://cryptography.io/en/latest/development/test-vectors/";
29     # Source: https://github.com/pyca/cryptography/tree/master/vectors;
30     license = with licenses; [
31       asl20
32       bsd3
33     ];
34     maintainers = with maintainers; [ nh2 ];
35   };