1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, future 6, numpy 7, sphinx 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "sphinx-fortran"; 13 version = "unstable-2022-03-02"; 14 15 src = fetchFromGitHub { 16 owner = "VACUMM"; 17 repo = pname; 18 rev = "394ae990b43ed43fcff8beb048632f5e99794264"; 19 hash = "sha256-IVKu5u9gqs7/9EZrf4ZYd12K6J31u+/B8kk4+8yfohM="; 20 }; 21 22 propagatedBuildInputs = [ 23 future 24 numpy 25 sphinx 26 six 27 ]; 28 29 pythonImportsCheck = [ "sphinxfortran" ]; 30 31 # Tests are failing because reference files are not updated 32 doCheck = false; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 meta = with lib; { 39 description = "Fortran domain and autodoc extensions to Sphinx"; 40 homepage = "http://sphinx-fortran.readthedocs.org/"; 41 license = licenses.cecill21; 42 maintainers = with maintainers; [ loicreynier ]; 43 }; 44}