nixpkgs-suyu/pkgs/development/tools/fortran-language-server/default.nix
Phillip Seeber d86143af52 fortran-language-server: init at 1.12.0
fortran-language-server: add pythonImportsCheck and a `--help`cli interaction


fortran-language-server: do not discard errors
2021-11-03 14:23:32 +01:00

21 lines
591 B
Nix

{ lib, fetchPypi, buildPythonApplication }:
buildPythonApplication rec {
pname = "fortran-language-server";
version = "1.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "7Dkh7yPX4rULkzfJFxg47YxrCaxuHk+k3TOINHS9T5A=";
};
checkPhase = "$out/bin/fortls --help 1>/dev/null";
pythonImportsCheck = [ "fortls" ];
meta = with lib; {
description = "FORTRAN Language Server for the Language Server Protocol";
homepage = "https://pypi.org/project/fortran-language-server/";
license = [ licenses.mit ];
maintainers = [ maintainers.sheepforce ];
};
}