summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyquerylist/default.nix
blob: af03588470e710c137e349b4705a4a16e6389543 (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
49
50
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  wheel,
  tabulate,
  coverage,
  flake8,
  pytest,
  pytestCheckHook,
  fetchpatch,
}:
buildPythonPackage {
  pname = "pyquerylist";
  version = "0-unstable-2025-03-03";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "markmuetz";
    repo = "pyquerylist";
    # no recent releases including the pytest rewrite
    rev = "1de783a7eddbe0726c6bf49c90153f1130c18ef8";
    hash = "sha256-ZhXFnzCKhcFPH8ayxwnDucD6v4E1y0jIk+3SeARAHlw=";
  };

  build-system = [
    setuptools
    wheel
  ];

  dependencies = [
    tabulate
  ];

  pythonImportsCheck = [ "pyquerylist" ];

  nativeCheckInputs = [
    coverage
    flake8
    pytestCheckHook
  ];

  meta = {
    description = "Extension of base Python list that you can query";
    homepage = "https://github.com/markmuetz/pyquerylist";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ philipwilk ];
  };
}