From c8757324a48e9eb776faf2b55686a3f5a8c8a2e1 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 2 Sep 2025 23:25:37 +0200 Subject: [PATCH] python3Packages.super-collections: init at 0.5.4 --- .../super-collections/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/super-collections/default.nix diff --git a/pkgs/development/python-modules/super-collections/default.nix b/pkgs/development/python-modules/super-collections/default.nix new file mode 100644 index 000000000000..edd693d512ad --- /dev/null +++ b/pkgs/development/python-modules/super-collections/default.nix @@ -0,0 +1,46 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + hjson, + pytestCheckHook, + rich, +}: + +buildPythonPackage rec { + pname = "super-collections"; + version = "0.5.4"; + pyproject = true; + + src = fetchFromGitHub { + owner = "fralau"; + repo = "super-collections"; + tag = "v${version}"; + hash = "sha256-gp5BREoa1oHGm1ymDlIdlLTqyIvB0RmkNLYDJssI3VE="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + hjson + ]; + + nativeCheckInputs = [ + pytestCheckHook + rich + ]; + + pythonImportsCheck = [ + "super_collections" + ]; + + meta = { + description = "Python SuperDictionaries (with attributes) and SuperLists"; + homepage = "https://github.com/fralau/super-collections"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ marcel ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0224baca7efe..8ddf6629f267 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17774,6 +17774,8 @@ self: super: with self; { supafunc = callPackage ../development/python-modules/supafunc { }; + super-collections = callPackage ../development/python-modules/super-collections { }; + superqt = callPackage ../development/python-modules/superqt { }; supervise-api = callPackage ../development/python-modules/supervise-api { };