mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
parent
8de9fea9ea
commit
0173cb16f8
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user