blob: bac3159507818fd6de2ab64421c071e551f0e0ef (
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
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "stringparser";
version = "0.6";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "hgrecco";
repo = pname;
rev = version;
sha256 = "sha256-uyeHuH0UfpZqh7sMRI6+fR/Rr2jSzdR+5O/MtzslO5w=";
};
nativeBuildInputs = [ setuptools setuptools-scm ];
pythonImportsCheck = [ "stringparser" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Easy to use pattern matching and information extraction";
homepage = "https://github.com/hgrecco/stringparser";
license = licenses.bsd3;
maintainers = with maintainers; [ evilmav ];
};
}
|