anew: init at 0.1.1

https://github.com/tomnomnom/anew
This commit is contained in:
figsoda 2023-05-25 19:39:54 -04:00
parent 8de9fea9ea
commit 0173cb16f8
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "anew";
version = "0.1.1";
src = fetchFromGitHub {
owner = "tomnomnom";
repo = "anew";
rev = "v${version}";
hash = "sha256-NQSs99/2GPOtXkO7k+ar16G4Ecu4CPGMd/CTwEhcyto=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A tool for adding new lines to files, skipping duplicates";
homepage = "https://github.com/tomnomnom/anew";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -2812,6 +2812,8 @@ with pkgs;
android-tools = lowPrio (darwin.apple_sdk_11_0.callPackage ../tools/misc/android-tools { });
anew = callPackage ../tools/text/anew { };
anewer = callPackage ../tools/text/anewer { };
angle-grinder = callPackage ../tools/text/angle-grinder { };