File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 33 beamPackages ,
44 fetchFromGitHub ,
55 elixir ,
6+ nix-update-script ,
7+ testers ,
8+ lexical ,
69} :
710
811beamPackages . mixRelease rec {
912 pname = "lexical" ;
10- version = "0.6.1 " ;
13+ version = "0.7.0 " ;
1114
1215 src = fetchFromGitHub {
1316 owner = "lexical-lsp" ;
1417 repo = "lexical" ;
1518 rev = "refs/tags/v${ version } " ;
16- hash = "sha256-gDiNjtYeEGoYoyoNmPh73EuYCvY36y9lUyLasbFrFgs =" ;
19+ hash = "sha256-veIFr8oovEhukwkGzj02pdc6vN1FCXGz1kn4FAcMALQ =" ;
1720 } ;
1821
1922 mixFodDeps = beamPackages . fetchMixDeps {
2023 inherit pname version src ;
2124
22- hash = "sha256-xihxPfdLPr5jWFfcX2tccFUl7ND1mi9u8Dn28k6lGVA =" ;
25+ hash = "sha256-pqghYSBeDHfeZclC7jQU0FbadioTZ6uT3+InEUSW3rY =" ;
2326 } ;
2427
2528 installPhase = ''
@@ -36,11 +39,17 @@ beamPackages.mixRelease rec {
3639 makeWrapper "$out/libexec/start_lexical.sh" "$out/bin/lexical" --set RELEASE_COOKIE lexical
3740 '' ;
3841
39- meta = with lib ; {
42+ passthru = {
43+ updateScript = nix-update-script { } ;
44+ tests . version = testers . testVersion { package = lexical ; } ;
45+ } ;
46+
47+ meta = {
4048 description = "Lexical is a next-generation elixir language server" ;
4149 homepage = "https://github.com/lexical-lsp/lexical" ;
42- license = licenses . asl20 ;
43- maintainers = with maintainers ; [ GaetanLepage ] ;
50+ changelog = "https://github.com/lexical-lsp/lexical/releases/tag/v${ version } " ;
51+ license = lib . licenses . asl20 ;
52+ maintainers = with lib . maintainers ; [ GaetanLepage ] ;
4453 mainProgram = "lexical" ;
4554 platforms = beamPackages . erlang . meta . platforms ;
4655 } ;
You can’t perform that action at this time.
0 commit comments