Merge pull request #322147 from fabaff/rfc8785
This commit is contained in:
commit
b4eaf50471
40
pkgs/development/python-modules/rfc8785/default.nix
Normal file
40
pkgs/development/python-modules/rfc8785/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flit-core
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "rfc8785";
|
||||||
|
version = "0.1.3";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "trailofbits";
|
||||||
|
repo = "rfc8785.py";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-hMH//DpxgNoNLZJ8XL8SikcTfj0w0FvlBMfnPCkqzZ4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "rfc8785" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Module for RFC8785 (JSON Canonicalization Scheme)";
|
||||||
|
homepage = "https://github.com/trailofbits/rfc8785.py";
|
||||||
|
changelog = "https://github.com/trailofbits/rfc8785.py/releases/tag/v${version}";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -13403,6 +13403,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
rfc7464 = callPackage ../development/python-modules/rfc7464 { };
|
rfc7464 = callPackage ../development/python-modules/rfc7464 { };
|
||||||
|
|
||||||
|
rfc8785 = callPackage ../development/python-modules/rfc8785 { };
|
||||||
|
|
||||||
rfcat = callPackage ../development/python-modules/rfcat { };
|
rfcat = callPackage ../development/python-modules/rfcat { };
|
||||||
|
|
||||||
rflink = callPackage ../development/python-modules/rflink { };
|
rflink = callPackage ../development/python-modules/rflink { };
|
||||||
|
Loading…
Reference in New Issue
Block a user