play: init at 0.3.5 (#377500)
This commit is contained in:
commit
6c5496c955
42
pkgs/by-name/pl/play/package.nix
Normal file
42
pkgs/by-name/pl/play/package.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
versionCheckHook,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "play";
|
||||||
|
version = "0.3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "paololazzari";
|
||||||
|
repo = "play";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-31naTjYwCytytKXg9tQo2qx0hVoBwBwL7nVeoAV+/go=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-9eP0rhsgpTttYrBG/BNk/ICtaM+zKNBz2H2cHuTSt30=";
|
||||||
|
|
||||||
|
modRoot = ".";
|
||||||
|
|
||||||
|
nativeInstallCheckInputs = [
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
|
versionCheckProgramArg = [ "version" ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "TUI playground for programs like grep, sed and awk";
|
||||||
|
homepage = "https://github.com/paololazzari/play";
|
||||||
|
changelog = "https://github.com/paololazzari/play/releases/tag/v${version}";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ liberodark ];
|
||||||
|
mainProgram = "play";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user