mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
parent
149340b2ab
commit
20bb934115
@ -3,20 +3,24 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule rec {
|
||||||
pname = "tailer";
|
pname = "tailer";
|
||||||
version = "unstable-2023-06-26";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hionay";
|
owner = "hionay";
|
||||||
repo = "tailer";
|
repo = "tailer";
|
||||||
rev = "2f32e2640a220c990ae419d1562889971c9ed535";
|
rev = "v${version}";
|
||||||
hash = "sha256-L+5HlUv6g2o6ghqp8URfR7k5NlWqFhVBmEIsEjGy7aU=";
|
hash = "sha256-gPezz2ksqdCffgdAHwU2NMTar2glp5YGfA5C+tMYPtE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-nQqSvfN+ed/g5VkbD6XhZNA1G3CGGfwFDdadJ5+WoD0=";
|
vendorHash = "sha256-nQqSvfN+ed/g5VkbD6XhZNA1G3CGGfwFDdadJ5+WoD0=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X=main.version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A CLI tool to insert lines when command output stops";
|
description = "A CLI tool to insert lines when command output stops";
|
||||||
|
Loading…
Reference in New Issue
Block a user