blob: 56172b8125990890f6b87ec410d2a242bfbddd09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ buildPythonApplication
, lib
, fetchFromGitHub
, setuptools-scm
, json5
, packaging
}:
buildPythonApplication rec {
pname = "fortls";
version = "3.1.1";
src = fetchFromGitHub {
owner = "fortran-lang";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-7imZLSE7USFXmv/V3olE698J8Q8a7cJt15nBKkPZJoU=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ json5 packaging ];
doCheck = true;
checkPhase = "$out/bin/fortls --help 1>/dev/null";
meta = with lib; {
description = "Fortran Language Server ";
mainProgram = "fortls";
homepage = "https://github.com/fortran-lang/fortls";
license = [ licenses.mit ];
maintainers = [ maintainers.sheepforce ];
};
}
|