3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/btop/default.nix

28 lines
640 B
Nix
Raw Normal View History

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