nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 37 lines 696 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pycryptodomex 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "unicrypto"; 10 version = "0.0.5"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-aSQPJgSTNGhh5jlpfi/aJF8UZWx98grm2eaxuzassp4="; 18 }; 19 20 propagatedBuildInputs = [ 21 pycryptodomex 22 ]; 23 24 # Module has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ 28 "unicrypto" 29 ]; 30 31 meta = with lib; { 32 description = "Unified interface for cryptographic libraries"; 33 homepage = "https://github.com/skelsec/unicrypto"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}