nixpkgs/pkgs/tools/system/btop/default.nix

28 lines
639 B
Nix
Raw Normal View History

2021-09-22 21:24:12 +00:00
{ lib
, stdenv
2021-10-19 20:09:17 +00:00
, fetchFromGitHub
2021-09-22 21:24:12 +00:00
}:
stdenv.mkDerivation rec {
pname = "btop";
2021-12-21 19:48:08 +00:00
version = "1.1.3";
2021-09-22 21:24:12 +00:00
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
2021-12-21 19:48:08 +00:00
sha256 = "sha256-uKR1ogQwEoyxyWBiLnW8BsOsYgTpeIpKrKspq0JwYjY=";
2021-09-22 21:24:12 +00:00
};
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A monitor of resources";
homepage = "https://github.com/aristocratos/btop";
2021-10-19 20:09:17 +00:00
changelog = "https://github.com/aristocratos/btop/blob/v${version}/CHANGELOG.md";
2021-09-22 21:24:12 +00:00
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ rmcgibbo ];
};
}