mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
d86143af52
fortran-language-server: add pythonImportsCheck and a `--help`cli interaction fortran-language-server: do not discard errors
22 lines
591 B
Nix
22 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 ];
|
|
};
|
|
}
|