stevenblack-blocklist: 3.15.5 -> 3.15.8 (#372042)
[NixPkgs.git] / pkgs / by-name / se / serve-d / package.nix
blobb8ef204152b28a96fe8eff62f4606d14b8954123
2   lib,
3   buildDubPackage,
4   fetchFromGitHub,
5   dtools,
6 }:
8 buildDubPackage rec {
9   pname = "serve-d";
10   version = "0.7.6";
12   src = fetchFromGitHub {
13     owner = "Pure-D";
14     repo = "serve-d";
15     rev = "v${version}";
16     hash = "sha256-h4zsW8phGcI4z0uMCIovM9cJ6hKdk8rLb/Jp4X4dkpk=";
17   };
19   nativeBuildInputs = [ dtools ];
21   dubLock = ./dub-lock.json;
23   doCheck = true;
25   installPhase = ''
26     runHook preInstall
27     install -Dm755 serve-d -t $out/bin
28     runHook postInstall
29   '';
31   meta = {
32     changelog = "https://github.com/Pure-D/serve-d/releases/tag/${src.rev}";
33     description = "D LSP server (dlang language server protocol server)";
34     homepage = "https://github.com/Pure-D/serve-d";
35     license = lib.licenses.mit;
36     mainProgram = "serve-d";
37     maintainers = with lib.maintainers; [ tomasajt ];
38   };