nixpkgs/pkgs/development/python-modules/sphinx-fortran/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

46 lines
896 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, future
, numpy
, sphinx
, six
}:
buildPythonPackage rec {
pname = "sphinx-fortran";
version = "unstable-2022-03-02";
format = "setuptools";
src = fetchFromGitHub {
owner = "VACUMM";
repo = pname;
rev = "394ae990b43ed43fcff8beb048632f5e99794264";
hash = "sha256-IVKu5u9gqs7/9EZrf4ZYd12K6J31u+/B8kk4+8yfohM=";
};
propagatedBuildInputs = [
future
numpy
sphinx
six
];
pythonImportsCheck = [ "sphinxfortran" ];
# Tests are failing because reference files are not updated
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Fortran domain and autodoc extensions to Sphinx";
homepage = "http://sphinx-fortran.readthedocs.org/";
license = licenses.cecill21;
maintainers = with maintainers; [ loicreynier ];
};
}