nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pycryptodome-test-vectors
5}:
6
7buildPythonPackage rec {
8 pname = "pycryptodomex";
9 version = "3.14.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-LOdu0Agf1qyMdO3HW50U7KIGQXOveYQ8JPpiVzJjwfI=";
15 };
16
17 pythonImportsCheck = [
18 "Cryptodome"
19 ];
20
21 meta = with lib; {
22 description = "A self-contained cryptographic library for Python";
23 homepage = "https://www.pycryptodome.org";
24 license = with licenses; [ bsd2 /* and */ asl20 ];
25 maintainers = with maintainers; [ fab ];
26 };
27}