mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
fortls: init at 2.13.0
This commit is contained in:
parent
cc1bb678f4
commit
7adaf213b2
35
pkgs/development/tools/fortls/default.nix
Normal file
35
pkgs/development/tools/fortls/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -17307,6 +17307,8 @@ with pkgs;
|
|||||||
|
|
||||||
fprettify = callPackage ../development/tools/fprettify { };
|
fprettify = callPackage ../development/tools/fprettify { };
|
||||||
|
|
||||||
|
fortls = python3.pkgs.callPackage ../development/tools/fortls { };
|
||||||
|
|
||||||
fortran-language-server = python3.pkgs.callPackage ../development/tools/fortran-language-server { };
|
fortran-language-server = python3.pkgs.callPackage ../development/tools/fortran-language-server { };
|
||||||
|
|
||||||
framac = callPackage ../development/tools/analysis/frama-c { };
|
framac = callPackage ../development/tools/analysis/frama-c { };
|
||||||
|
Loading…
Reference in New Issue
Block a user