nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 752 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 canonicaljson, 5 fetchPypi, 6 pynacl, 7 pytestCheckHook, 8 setuptools-scm, 9 unpaddedbase64, 10}: 11 12buildPythonPackage rec { 13 pname = "signedjson"; 14 version = "1.1.4"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-zZHFavU/Fp7wMsYunEoyktwViGaTMxjQWS40Yts9ZJI="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 24 propagatedBuildInputs = [ 25 canonicaljson 26 unpaddedbase64 27 pynacl 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "signedjson" ]; 33 34 meta = { 35 description = "Sign JSON with Ed25519 signatures"; 36 homepage = "https://github.com/matrix-org/python-signedjson"; 37 license = lib.licenses.asl20; 38 maintainers = [ ]; 39 }; 40}