summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tag-expressions/default.nix
blob: fec5184933ea7ed752ce20ede80e9a9153d8cd6d (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "tag-expressions";
  version = "2.0.1";
  pyproject = true;

  src = fetchPypi {
    pname = "tag_expressions";
    inherit version;
    hash = "sha256-EbSwfAH+sL3JGW+COfDA2f7cLGyKmQMsbyyDGy13Lkg=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "tagexpressions" ];

  meta = {
    description = "Package to parse logical tag expressions";
    homepage = "https://github.com/timofurrer/tag-expressions";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ kalbasit ];
  };
}