blob: f040c469880c194fc4c7b7898f5d9783c4682d82 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "parsy";
version = "2.1";
format = "setuptools";
src = fetchFromGitHub {
repo = "parsy";
owner = "python-parsy";
tag = "v${version}";
hash = "sha256-/Bu3xZUpXI4WiYJKKWTJTdSFq8pwC1PFDw0Kr8s3Fe8=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "parsy" ];
meta = {
homepage = "https://github.com/python-parsy/parsy";
description = "Easy-to-use parser combinators, for parsing in pure Python";
changelog = "https://github.com/python-parsy/parsy/blob/v${version}/docs/history.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ milibopp ];
};
}
|