Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
772 B
Nix
40 lines
772 B
Nix
{
|
|
buildPythonApplication,
|
|
lib,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
json5,
|
|
packaging,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "fortls";
|
|
version = "3.2.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fortran-lang";
|
|
repo = pname;
|
|
tag = "v${version}";
|
|
hash = "sha256-cUZBr+dtTFbd68z6ts4quIPp9XYMikUBrCq+icrZ1KU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|