2024-09-26 11:04:55 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
zig,
|
2023-08-10 07:59:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "poop";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "0.5.0";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andrewrk";
|
|
|
|
repo = "poop";
|
|
|
|
rev = version;
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-zrqR/TTELhsBIX42PysFsHPRs8Lx/zHcmi+VMDw1SdQ=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-09-26 11:04:55 +00:00
|
|
|
zig.hook
|
2023-08-10 07:59:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Compare the performance of multiple commands with a colorful terminal user interface";
|
|
|
|
homepage = "https://github.com/andrewrk/poop";
|
|
|
|
changelog = "https://github.com/andrewrk/poop/releases/tag/${src.rev}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "poop";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
}
|