python3Packages.rfc3986-validator: init at 0.1.1
This commit is contained in:
parent
998f4d139c
commit
d41ca8be7b
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hypothesis
|
||||
, rfc3987
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rfc3986-validator";
|
||||
version = "0.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "rfc3986_validator";
|
||||
inherit version;
|
||||
hash = "sha256-PUS955IbO57Drk463KNwQ47M68Z2RWRJsUXVM7JA0FU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'," ""
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
rfc3987
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure python rfc3986 validator";
|
||||
homepage = "https://github.com/naimetti/rfc3986-validator";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -9876,6 +9876,8 @@ self: super: with self; {
|
|||
|
||||
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
|
||||
|
||||
rfc3986-validator = callPackage ../development/python-modules/rfc3986-validator { };
|
||||
|
||||
rfc3987 = callPackage ../development/python-modules/rfc3987 { };
|
||||
|
||||
rfc6555 = callPackage ../development/python-modules/rfc6555 { };
|
||||
|
|
Loading…
Reference in a new issue