python312Packages.rectpack: init at 0.2.2

This commit is contained in:
Federico Beffa
2025-01-16 16:48:33 +01:00
parent 896399eaf4
commit 8cd90aba7c
2 changed files with 35 additions and 0 deletions
@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "rectpack";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "secnot";
repo = "rectpack";
rev = version;
hash = "sha256-kU0TT3wiudcLXrT+lYPYHYRtf7aNj/IKpnYKb/H91ng=";
};
build-system = [ setuptools ];
# tests are base on nose
doCheck = false;
pythonImportsCheck = [ "rectpack" ];
meta = with lib; {
description = "Collection of algorithms for solving the 2D knapsack problem";
homepage = "https://github.com/secnot/rectpack";
license = licenses.asl20;
maintainers = with maintainers; [ fbeffa ];
};
}
+2
View File
@@ -13912,6 +13912,8 @@ self: super: with self; {
recordlinkage = callPackage ../development/python-modules/recordlinkage { };
rectpack = callPackage ../development/python-modules/rectpack { };
recurring-ical-events = callPackage ../development/python-modules/recurring-ical-events { };
recursive-pth-loader = toPythonModule (callPackage ../development/python-modules/recursive-pth-loader { });