depot/pkgs/development/tools/language-servers/fortran-language-server/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

22 lines
619 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";
mainProgram = "fortls";
homepage = "https://pypi.org/project/fortran-language-server/";
license = [ licenses.mit ];
maintainers = [ maintainers.sheepforce ];
};
}