blob: b7dc56ed27746301ac04d2170d0e9ae6139dbb2d (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, cython
, openems
, csxcad
, numpy
, matplotlib
}:
buildPythonPackage rec {
pname = "python-csxcad";
version = csxcad.version;
format = "setuptools";
src = csxcad.src;
sourceRoot = "${src.name}/python";
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
openems
csxcad
numpy
matplotlib
];
setupPyBuildFlags = [ "-I${openems}/include" "-L${openems}/lib" "-R${openems}/lib" ];
meta = with lib; {
description = "Python interface to CSXCAD";
homepage = "http://openems.de/index.php/Main_Page.html";
license = licenses.gpl3;
maintainers = with maintainers; [ matthuszagh ];
platforms = platforms.linux;
};
}
|