blob: 4a59ab72eba58e91190e218415f50bec72672797 (
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
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
typing-extensions,
}:
buildPythonPackage rec {
pname = "stringparser";
version = "0.7";
pyproject = true;
src = fetchFromGitHub {
owner = "hgrecco";
repo = "stringparser";
tag = version;
hash = "sha256-gj0ooeb869JhlB9Mf5nBydiV2thTes8ys+BLJ516iSA=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "stringparser" ];
meta = {
description = "Easy to use pattern matching and information extraction";
homepage = "https://github.com/hgrecco/stringparser";
changelog = "https://github.com/hgrecco/stringparser/blob/${version}/CHANGES";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ evilmav ];
};
}
|