tcat: Add updateScript, convert to finalAttrs, drop with lib.maintainers
This commit is contained in:
@@ -2,25 +2,30 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "tcat";
|
||||
version = "1.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rsc";
|
||||
repo = "tcat";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "1szzfz5xsx9l8gjikfncgp86hydzpvsi0y5zvikd621xkp7g7l21";
|
||||
};
|
||||
vendorHash = null;
|
||||
subPackages = ".";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Table cat";
|
||||
homepage = "https://github.com/rsc/tcat";
|
||||
maintainers = with lib.maintainers; [ mmlb ];
|
||||
maintainers = [
|
||||
lib.maintainers.mmlb
|
||||
];
|
||||
license = lib.licenses.bsd3;
|
||||
mainProgram = "tcat";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user