12 buildPythonPackage rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-Ioyk0IpyxcDdL2+3zkUa6yydavyphoh4do7GCz5nG60=";
24 substituteInPlace setup.cfg \
25 --replace "setup_requires=" "" \
26 --replace "pytest-runner" ""
29 propagatedBuildInputs = [
36 nativeCheckInputs = [ pytestCheckHook ];
37 pytestFlagsArray = [ "energyflow/tests" ];
39 "energyflow/tests/test_archs.py" # requires tensorflow
40 "energyflow/tests/test_emd.py" # requires "ot"
43 pythonImportsCheck = [ "energyflow" ];
46 description = "Python package for the EnergyFlow suite of tools";
47 homepage = "https://energyflow.network/";
48 license = licenses.gpl3Only;
49 maintainers = with maintainers; [ veprbl ];