depot/third_party/nixpkgs/pkgs/tools/misc/poop/default.nix

33 lines
715 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
zig,
}:
stdenv.mkDerivation rec {
pname = "poop";
version = "0.5.0";
src = fetchFromGitHub {
owner = "andrewrk";
repo = "poop";
rev = version;
hash = "sha256-zrqR/TTELhsBIX42PysFsHPRs8Lx/zHcmi+VMDw1SdQ=";
};
nativeBuildInputs = [
zig.hook
];
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;
mainProgram = "poop";
};
}