about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/language-servers/fortran-language-server/default.nix
blob: 2c606ab715b512d061886889242c4752c5e2faf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 ];
  };
}