blob: 6d02c73139c3c889d407af01ece34218144c3702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
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'," ""
'';
nativeCheckInputs = [
hypothesis
pytestCheckHook
rfc3987
];
meta = {
description = "Pure python rfc3986 validator";
homepage = "https://github.com/naimetti/rfc3986-validator";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|