fortls: init at 2.13.0

This commit is contained in:
Phillip Seeber 2022-12-23 15:21:35 +01:00
parent cc1bb678f4
commit 7adaf213b2
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ buildPythonApplication
, lib
, fetchFromGitHub
, setuptools-scm
, json5
, packaging
}:
buildPythonApplication rec {
pname = "fortls";
version = "2.13.0";
src = fetchFromGitHub {
owner = "fortran-lang";
repo = pname;
rev = "v${version}";
hash = "sha256-kFk2Dlnb0FXM3Ysvsy+g2AAMgpWmwzxuyJPovDm/FJU=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ json5 packaging ];
preBuild = "export SETUPTOOLS_SCM_PRETEND_VERSION=${version}";
doCheck = true;
checkPhase = "$out/bin/fortls --help 1>/dev/null";
meta = with lib; {
description = "Fortran Language Server ";
homepage = "https://github.com/fortran-lang/fortls";
license = [ licenses.mit ];
maintainers = [ maintainers.sheepforce ];
};
}

View File

@ -17307,6 +17307,8 @@ with pkgs;
fprettify = callPackage ../development/tools/fprettify { };
fortls = python3.pkgs.callPackage ../development/tools/fortls { };
fortran-language-server = python3.pkgs.callPackage ../development/tools/fortran-language-server { };
framac = callPackage ../development/tools/analysis/frama-c { };