redka: 0.5.3 → 0.6.0

+12 -13
+12 -13
pkgs/by-name/re/redka/package.nix
··· 4 fetchFromGitHub, 5 }: 6 7 - buildGoModule rec { 8 pname = "redka"; 9 - version = "0.5.3"; 10 11 src = fetchFromGitHub { 12 owner = "nalgeon"; 13 repo = "redka"; 14 - rev = "v${version}"; 15 - hash = "sha256-CCTPhcarLFs2wyhu7OqifunVSil2QU61JViY3uTjVg8="; 16 }; 17 18 - vendorHash = "sha256-aX0X6TWVEouo884LunCt+UzLyvDHgmvuxdV0wh0r7Ro="; 19 20 subPackages = [ 21 "cmd/redka" 22 - "cmd/cli" 23 ]; 24 25 - ldflags = [ "-X main.version=v${version}" ]; 26 - 27 - postInstall = '' 28 - mv $out/bin/{cli,redka-cli} 29 - ''; 30 31 meta = { 32 description = "Redis re-implemented with SQLite"; 33 homepage = "https://github.com/nalgeon/redka"; 34 - changelog = "https://github.com/nalgeon/redka/releases/tag/${src.rev}"; 35 maintainers = with lib.maintainers; [ sikmir ]; 36 license = lib.licenses.bsd3; 37 }; 38 - }
··· 4 fetchFromGitHub, 5 }: 6 7 + buildGoModule (finalAttrs: { 8 pname = "redka"; 9 + version = "0.6.0"; 10 11 src = fetchFromGitHub { 12 owner = "nalgeon"; 13 repo = "redka"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-8p1riY5tCLhNWbXGmMEolqVVyjeKmc0WSaTI7lLZhJk="; 16 }; 17 18 + vendorHash = "sha256-vtCUDRBVbG7xocE7yUDktUSzEEc5af75R7rmcabu/sQ="; 19 20 subPackages = [ 21 "cmd/redka" 22 ]; 23 24 + ldflags = [ 25 + "-s" 26 + "-w" 27 + "-X main.version=v${finalAttrs.version}" 28 + ]; 29 30 meta = { 31 description = "Redis re-implemented with SQLite"; 32 homepage = "https://github.com/nalgeon/redka"; 33 + changelog = "https://github.com/nalgeon/redka/releases/tag/${finalAttrs.src.tag}"; 34 maintainers = with lib.maintainers; [ sikmir ]; 35 license = lib.licenses.bsd3; 36 }; 37 + })