python312Packages.rectpack: init at 0.2.2
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { });
|
||||
|
||||
Reference in New Issue
Block a user