mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
Merge pull request #234095 from figsoda/anew
This commit is contained in:
commit
ac50b88e1a
27
pkgs/tools/text/anew/default.nix
Normal file
27
pkgs/tools/text/anew/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -2816,6 +2816,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user