nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 795 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "rfc8785"; 11 version = "0.1.4"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "trailofbits"; 16 repo = "rfc8785.py"; 17 tag = "v${version}"; 18 hash = "sha256-0Gze3voFXEhf13DuTuBWDbYPmqHXs0FSRn2NprFWoB8="; 19 }; 20 21 build-system = [ 22 flit-core 23 ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "rfc8785" ]; 30 31 meta = { 32 description = "Module for RFC8785 (JSON Canonicalization Scheme)"; 33 homepage = "https://github.com/trailofbits/rfc8785.py"; 34 changelog = "https://github.com/trailofbits/rfc8785.py/releases/tag/v${version}"; 35 license = lib.licenses.asl20; 36 maintainers = with lib.maintainers; [ fab ]; 37 }; 38}