From 218abf69722d34b66f96d86ef7de2f8f3078f6f8 Mon Sep 17 00:00:00 2001 From: Philip Wilk Date: Sat, 15 Mar 2025 17:44:07 +0000 Subject: [PATCH] python3Packages.pyquerylist: init at 0-unstable-2025-03-03 --- .../python-modules/pyquerylist/default.nix | 50 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 52 insertions(+) create mode 100644 pkgs/development/python-modules/pyquerylist/default.nix 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 { };