blob: 775de5a238bd1f3b57d5532ad60a1908cb7c65d4 (
plain) (
blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchPypi,
swig,
cmake,
ninja,
setuptools,
scikit-build,
}:
buildPythonPackage rec {
pname = "py-slvs";
version = "1.0.6";
src = fetchPypi {
pname = "py_slvs";
inherit version;
sha256 = "sha256-U6T/aXy0JTC1ptL5oBmch0ytSPmIkRA8XOi31NpArnI=";
};
pyproject = true;
nativeBuildInputs = [
swig
];
build-system = [
cmake
ninja
setuptools
scikit-build
];
dontUseCmakeConfigure = true;
pythonImportsCheck = [
"py_slvs"
];
meta = {
description = "Python binding of SOLVESPACE geometry constraint solver";
homepage = "https://github.com/realthunder/slvs_py";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
traverseda
];
};
}
|