File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1082310823 githubId = 42114389;
1082410824 name = "Jerry Starke";
1082510825 };
10826+ jervw = {
10827+ 10828+ github = "jervw";
10829+ githubId = 53620688;
10830+ name = "Jere Vuola";
10831+ keys = [ { fingerprint = "56C2 5B5B 2075 6352 B4B0 E17E F188 3717 47DA 5895"; } ];
10832+ };
1082610833 jeschli = {
10827108341082810835 github = "0mbi";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildGoModule ,
4+ fetchFromGitHub ,
5+ nix-update-script ,
6+ versionCheckHook ,
7+ } :
8+ buildGoModule rec {
9+ pname = "mpls" ;
10+ version = "0.12.0" ;
11+
12+ src = fetchFromGitHub {
13+ owner = "mhersson" ;
14+ repo = "mpls" ;
15+ tag = "v${ version } " ;
16+ hash = "sha256-2NOP5k3N2T2T8zg/6SlKDRJsWt+LcjAOmYe/tMrjCnc=" ;
17+ } ;
18+
19+ vendorHash = "sha256-6iXZWLCF0LfchcGSFrCtILLeR1Yx7oxD/7JIYyrrkHM=" ;
20+
21+ ldflags = [
22+ "-s"
23+ "-w"
24+ "-X github.com/mhersson/mpls/cmd.Version=${ version } "
25+ "-X github.com/mhersson/mpls/internal/mpls.Version=${ version } "
26+ ] ;
27+
28+ nativeInstallCheckInputs = [ versionCheckHook ] ;
29+ versionCheckProgramArg = "--version" ;
30+ doInstallCheck = true ;
31+
32+ passthru . updateScript = nix-update-script { } ;
33+
34+ meta = {
35+ description = "Live preview of markdown using Language Server Protocol" ;
36+ homepage = "https://github.com/mhersson/mpls" ;
37+ changelog = "https://github.com/mhersson/mpls/releases/tag/${ src . tag } " ;
38+ license = lib . licenses . asl20 ;
39+ maintainers = with lib . maintainers ; [ jervw ] ;
40+ mainProgram = "mpls" ;
41+ } ;
42+ }
You can’t perform that action at this time.
0 commit comments