13 buildPythonPackage rec {
14 pname = "python-openems";
15 version = "unstable-2020-02-15";
17 src = fetchFromGitHub {
20 rev = "ba793ac84e2f78f254d6d690bb5a4c626326bbfd";
21 sha256 = "1dca6b6ccy771irxzsj075zvpa3dlzv4mjb8xyg9d889dqlgyl45";
24 sourceRoot = "source/python";
31 propagatedBuildInputs = [
39 setupPyBuildFlags = [ "-I${openems}/include" "-L${openems}/lib" "-R${openems}/lib" ];
40 pythonImportsCheck = [ "openEMS" ];
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;