tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
redka: 0.5.3 → 0.6.0
Nikolay Korotkiy
7 months ago
69cc2474
89480606
+12
-13
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
re
redka
package.nix
+12
-13
pkgs/by-name/re/redka/package.nix
···
4
4
fetchFromGitHub,
5
5
}:
6
6
7
7
-
buildGoModule rec {
7
7
+
buildGoModule (finalAttrs: {
8
8
pname = "redka";
9
9
-
version = "0.5.3";
9
9
+
version = "0.6.0";
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "nalgeon";
13
13
repo = "redka";
14
14
-
rev = "v${version}";
15
15
-
hash = "sha256-CCTPhcarLFs2wyhu7OqifunVSil2QU61JViY3uTjVg8=";
14
14
+
tag = "v${finalAttrs.version}";
15
15
+
hash = "sha256-8p1riY5tCLhNWbXGmMEolqVVyjeKmc0WSaTI7lLZhJk=";
16
16
};
17
17
18
18
-
vendorHash = "sha256-aX0X6TWVEouo884LunCt+UzLyvDHgmvuxdV0wh0r7Ro=";
18
18
+
vendorHash = "sha256-vtCUDRBVbG7xocE7yUDktUSzEEc5af75R7rmcabu/sQ=";
19
19
20
20
subPackages = [
21
21
"cmd/redka"
22
22
-
"cmd/cli"
23
22
];
24
23
25
25
-
ldflags = [ "-X main.version=v${version}" ];
26
26
-
27
27
-
postInstall = ''
28
28
-
mv $out/bin/{cli,redka-cli}
29
29
-
'';
24
24
+
ldflags = [
25
25
+
"-s"
26
26
+
"-w"
27
27
+
"-X main.version=v${finalAttrs.version}"
28
28
+
];
30
29
31
30
meta = {
32
31
description = "Redis re-implemented with SQLite";
33
32
homepage = "https://github.com/nalgeon/redka";
34
34
-
changelog = "https://github.com/nalgeon/redka/releases/tag/${src.rev}";
33
33
+
changelog = "https://github.com/nalgeon/redka/releases/tag/${finalAttrs.src.tag}";
35
34
maintainers = with lib.maintainers; [ sikmir ];
36
35
license = lib.licenses.bsd3;
37
36
};
38
38
-
}
37
37
+
})