Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "pycryptodome-test-vectors"; 8 version = "1.0.10"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-oqgHWAw0Xrc22eAuY6+Q/H90tL9Acz6V0EJp060hH2Q="; 14 extension = "zip"; 15 }; 16 17 # Module has no tests 18 doCheck = false; 19 20 pythonImportsCheck = [ 21 "pycryptodome_test_vectors" 22 ]; 23 24 meta = with lib; { 25 description = "Test vectors for PyCryptodome cryptographic library"; 26 homepage = "https://www.pycryptodome.org/"; 27 license = with licenses; [ bsd2 /* and */ asl20 ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}