diff --git a/pkgs/development/python-modules/pyquerylist/default.nix b/pkgs/development/python-modules/pyquerylist/default.nix new file mode 100644 index 000000000000..17560e05400f --- /dev/null +++ b/pkgs/development/python-modules/pyquerylist/default.nix @@ -0,0 +1,50 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + wheel, + tabulate, + coverage, + flake8, + pytest, + pytestCheckHook, + fetchpatch, +}: +buildPythonPackage rec { + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 755147a1865e..1ed61faa27b4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12691,6 +12691,8 @@ self: super: with self; { pyquery = callPackage ../development/python-modules/pyquery { }; + pyquerylist = callPackage ../development/python-modules/pyquerylist { }; + pyquaternion = callPackage ../development/python-modules/pyquaternion { }; pyquil = callPackage ../development/python-modules/pyquil { };