xcursor-pro: init at 2.0.2 (#335188)
[NixPkgs.git] / pkgs / development / tools / language-servers / fortls / default.nix
blob273a0179863b78b53813fcbab52d86c9e099887d
2   buildPythonApplication,
3   lib,
4   fetchFromGitHub,
5   setuptools-scm,
6   json5,
7   packaging,
8 }:
10 buildPythonApplication rec {
11   pname = "fortls";
12   version = "3.1.2";
14   src = fetchFromGitHub {
15     owner = "fortran-lang";
16     repo = pname;
17     rev = "refs/tags/v${version}";
18     hash = "sha256-mOYPtysPj+JczRPTeM1DUckAH0XC9cO1ssP8pviYa0E=";
19   };
21   nativeBuildInputs = [ setuptools-scm ];
23   propagatedBuildInputs = [
24     json5
25     packaging
26   ];
28   doCheck = true;
29   checkPhase = "$out/bin/fortls --help 1>/dev/null";
31   meta = with lib; {
32     description = "Fortran Language Server";
33     mainProgram = "fortls";
34     homepage = "https://github.com/fortran-lang/fortls";
35     license = [ licenses.mit ];
36     maintainers = [ maintainers.sheepforce ];
37   };