summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/super-collections/default.nix
blob: b33a228292f3e9188416ea8225b407842dcf683f (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
48
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  hjson,
  pytestCheckHook,
  rich,
  pyyaml,
}:

buildPythonPackage rec {
  pname = "super-collections";
  version = "0.6.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "fralau";
    repo = "super-collections";
    tag = "v${version}";
    hash = "sha256-7QW5cL+TZlPX8ZMNNH+xZSGNIGr8Cy2jP1oSWy5tKaY=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    hjson
  ];

  nativeCheckInputs = [
    pytestCheckHook
    rich
    pyyaml
  ];

  pythonImportsCheck = [
    "super_collections"
  ];

  meta = {
    description = "Python SuperDictionaries (with attributes) and SuperLists";
    homepage = "https://github.com/fralau/super-collections";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ marcel ];
  };
}