nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, jre }:
2
3stdenv.mkDerivation rec {
4 pname = "clojure-lsp";
5 version = "20200121T234305";
6
7 src = fetchurl {
8 url = "https://github.com/snoe/clojure-lsp/releases/download/release-${version}/${pname}";
9 sha256 = "04598vxay85q2blr49xh4pb58i4rsgjbznnn2cszcqgyzh05fs4y";
10 };
11
12 dontUnpack = true;
13
14 installPhase = ''
15 install -Dm755 $src $out/bin/clojure-lsp
16 '';
17
18 meta = with stdenv.lib; {
19 description = "Language Server Protocol (LSP) for Clojure";
20 homepage = "https://github.com/snoe/clojure-lsp";
21 license = licenses.mit;
22 maintainers = [ maintainers.ericdallo ];
23 platforms = jre.meta.platforms;
24 };
25
26}