summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cddlparser/default.nix
blob: 1737f4b85b48340f7a27e693241685c646e67a67 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  # dependencies
  setuptools,
}:

buildPythonPackage rec {
  pname = "cddlparser";
  version = "0.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tidoust";
    repo = pname;
    tag = "v${version}";
    sha256 = "sha256-Hrf6u5HeCICffgPAOcbb1FhybEVhgre7EXzQZhS8D9o=";
  };

  build-system = [
    setuptools
  ];

  meta = {
    homepage = "https://github.com/tidoust/cddlparser";
    downloadPage = "https://github.com/tidoust/cddlparser/releases";
    description = "Concise data definition language (RFC 8610) parser implementation in Python";
    longDescription = ''
      A CDDL parser in Python

      Concise data definition language (RFC 8610) parser implementation in Python.
    '';
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ hemera ];
  };
}