mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
![Alexis Hildebrandt](/assets/img/avatar_default.png)
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
693 B
Nix
33 lines
693 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "lwc";
|
|
version = "unstable-2022-07-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timdp";
|
|
repo = "lwc";
|
|
rev = "3330928c9d82200837350f85335f5e6c09f0658b";
|
|
hash = "sha256-HFuXA5Y274XtgqG9odDAg9SSCgUxprnojfGavnYW4LE=";
|
|
};
|
|
|
|
vendorHash = "sha256-av736cW0bPsGQV+XFL/q6p/9VhjOeDwkiK5DLRnRtUg=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.version=${src.rev}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Live-updating version of the UNIX wc command";
|
|
homepage = "https://github.com/timdp/lwc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "lwc";
|
|
};
|
|
}
|