blob: 95ce013921e83c92c3f0a7ec45dab7a78fcba9ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 = {
description = "Collection of algorithms for solving the 2D knapsack problem";
homepage = "https://github.com/secnot/rectpack";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fbeffa ];
};
}
|