File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ fetchFromGitHub ,
3
+ buildPythonPackage ,
4
+ pytestCheckHook ,
5
+ setuptools ,
6
+ cadquery ,
7
+ } :
8
+ let
9
+ rev = "daa4650" ;
10
+ in
11
+ buildPythonPackage {
12
+ pname = "cq-warehouse" ;
13
+ version = rev ;
14
+
15
+ src = fetchFromGitHub {
16
+ owner = "gumyr" ;
17
+ repo = "cq_warehouse" ;
18
+ rev = rev ;
19
+ hash = "sha256-1wsYbjPzC9BGEDM9YZcAsnIGMc3fom75bp+LgZ/rqJw=" ;
20
+ } ;
21
+
22
+ pyproject = true ;
23
+
24
+ build-system = [ setuptools ] ;
25
+
26
+ dependencies = [
27
+ cadquery
28
+ ] ;
29
+
30
+ patches = [
31
+ ./pyproject.patch
32
+ ] ;
33
+
34
+ nativeCheckInputs = [ pytestCheckHook ] ;
35
+
36
+ disabledTests = [
37
+ "test_five_sprocket_chain"
38
+ "test_missing_link"
39
+ "test_oblique_plane"
40
+ "test_assemble_chain_transmission"
41
+ "test_make_link"
42
+ ] ;
43
+
44
+ }
Original file line number Diff line number Diff line change
1
+ --- a/pyproject.toml
2
+ +++ b/pyproject.toml
3
+ @@ -4,3 +4,6 @@ requires = [
4
+ "wheel"
5
+ ]
6
+ build-backend = "setuptools.build_meta"
7
+ +
8
+ + [tool.pytest.ini_options]
9
+ + python_files = "*_tests.py"
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ final: prev: {
8
8
cadquery = final . callPackage ./cadquery { } ;
9
9
casadi = final . toPythonModule ( casadi . override { pythonSupport = true ; } ) ;
10
10
cq-kit = final . callPackage ./cq-kit { } ;
11
+ cq-warehouse = final . callPackage ./cq-warehouse { } ;
11
12
libclang = prev . libclang . override { llvmPackages = llvmPackages_15 ; } ;
12
13
nlopt = final . callPackage ./nlopt { } ;
13
14
ocp = final . callPackage ./ocp { inherit ocp ; } ;
You can’t perform that action at this time.
0 commit comments