Merge pull request #142592 from figsoda/anewer

anewer: init at 0.1.6
This commit is contained in:
figsoda 2021-10-22 15:57:33 -04:00 committed by GitHub
commit 36856999bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "anewer";
version = "0.1.6";
src = fetchFromGitHub {
owner = "ysf";
repo = pname;
rev = version;
sha256 = "181mi674354bddnq894yyq587w7skjh35vn61i41vfi6lqz5dy3d";
};
cargoSha256 = "sha256-LJ0l5CZM5NqdbCZe4ELkYf9EkKyBxL/LrNmFy+JS6gM=";
meta = with lib; {
description = "Append lines from stdin to a file if they don't already exist in the file";
homepage = "https://github.com/ysf/anewer";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -1176,6 +1176,8 @@ with pkgs;
stdenv = if stdenv.targetPlatform.isAarch64 then gcc10Stdenv else stdenv;
});
anewer = callPackage ../tools/text/anewer { };
angle-grinder = callPackage ../tools/text/angle-grinder {};
ansifilter = callPackage ../tools/text/ansifilter {};