2021-10-22 18:03:52 +01:00
|
|
|
{ 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";
|
2021-10-22 18:31:50 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2021-10-22 18:03:52 +01:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|