catbox: init at 0.2.2

This commit is contained in:
Anton Mosich 2024-12-13 11:03:46 +01:00
parent 1c66d3f27c
commit 45563684e3
No known key found for this signature in database
GPG key ID: 28F77AAFFAF5BAF6

View file

@ -0,0 +1,29 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "catbox";
version = "0.2.2";
src = fetchFromGitHub {
owner = "konimarti";
repo = "catbox";
tag = "v${version}";
hash = "sha256-mLjrHDc8Sn/cHYc8VbrC0YMVVCKyhiYHVzE5kvMergc=";
};
vendorHash = "sha256-mbxZUCxkPhgIzUUgiQ1P1z6Zgs0UaVnm+erW60AIIH8=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Pipe mbox messages into shell commands";
homepage = "https://github.com/konimarti/catbox";
license = lib.licenses.mit;
mainProgram = "catbox";
maintainers = with lib.maintainers; [ antonmosich ];
};
}