1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 # dependencies
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "cddlparser";
11 version = "0.5.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "tidoust";
16 repo = pname;
17 tag = "v${version}";
18 sha256 = "sha256-Hrf6u5HeCICffgPAOcbb1FhybEVhgre7EXzQZhS8D9o=";
19 };
20
21 build-system = [
22 setuptools
23 ];
24
25 meta = {
26 homepage = "https://github.com/tidoust/cddlparser";
27 downloadPage = "https://github.com/tidoust/cddlparser/releases";
28 description = "Concise data definition language (RFC 8610) parser implementation in Python";
29 longDescription = ''
30 A CDDL parser in Python
31
32 Concise data definition language (RFC 8610) parser implementation in Python.
33 '';
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ hemera ];
36 };
37}