1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 wheel,
7 tabulate,
8 coverage,
9 flake8,
10 pytest,
11 pytestCheckHook,
12 fetchpatch,
13}:
14buildPythonPackage rec {
15 pname = "pyquerylist";
16 version = "0-unstable-2025-03-03";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "markmuetz";
21 repo = "pyquerylist";
22 # no recent releases including the pytest rewrite
23 rev = "1de783a7eddbe0726c6bf49c90153f1130c18ef8";
24 hash = "sha256-ZhXFnzCKhcFPH8ayxwnDucD6v4E1y0jIk+3SeARAHlw=";
25 };
26
27 build-system = [
28 setuptools
29 wheel
30 ];
31
32 dependencies = [
33 tabulate
34 ];
35
36 pythonImportsCheck = [ "pyquerylist" ];
37
38 nativeCheckInputs = [
39 coverage
40 flake8
41 pytestCheckHook
42 ];
43
44 meta = {
45 description = "Extension of base Python list that you can query";
46 homepage = "https://github.com/markmuetz/pyquerylist";
47 license = lib.licenses.asl20;
48 maintainers = with lib.maintainers; [ philipwilk ];
49 };
50}