blob: 4aa0f240cca0391b57e2e76d17b4b3587d5a28cb (
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
42
43
44
45
46
47
|
{
lib,
assertpy,
buildPythonPackage,
fetchFromGitHub,
lark,
poetry-core,
pytestCheckHook,
regex,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pycep-parser";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "gruebel";
repo = "pycep";
tag = version;
hash = "sha256-yCcJUN+gDeuifFoYyFsS5Ak/AYxLo0Q8edmhFYfi/eA=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
lark
regex
typing-extensions
];
nativeCheckInputs = [
assertpy
pytestCheckHook
];
pythonImportsCheck = [ "pycep" ];
meta = {
description = "Python based Bicep parser";
homepage = "https://github.com/gruebel/pycep";
changelog = "https://github.com/gruebel/pycep/blob/${version}/CHANGELOG.md";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|