python313Packages.publicsuffixlist: 1.0.2.20250122 -> 1.0.2.20250124 (#376319)
[NixPkgs.git] / pkgs / development / python-modules / python-openems / default.nix
bloba13f0d8bff844675477dc583ae99b9c4711ebb12
2   lib,
3   buildPythonPackage,
4   cython_0,
5   openems,
6   csxcad,
7   boost,
8   python-csxcad,
9   numpy,
10   h5py,
13 buildPythonPackage rec {
14   pname = "python-openems";
15   version = openems.version;
16   format = "setuptools";
18   src = openems.src;
20   sourceRoot = "${src.name}/python";
22   nativeBuildInputs = [
23     cython_0
24     boost
25   ];
27   propagatedBuildInputs = [
28     openems
29     csxcad
30     python-csxcad
31     numpy
32     h5py
33   ];
35   setupPyBuildFlags = [
36     "-I${openems}/include"
37     "-L${openems}/lib"
38     "-R${openems}/lib"
39   ];
40   pythonImportsCheck = [ "openEMS" ];
42   meta = with lib; {
43     description = "Python interface to OpenEMS";
44     homepage = "http://openems.de/index.php/Main_Page.html";
45     license = licenses.gpl3;
46     maintainers = with maintainers; [ matthuszagh ];
47     platforms = platforms.linux;
48   };