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-10-29 05:44:23 +01:00
version = "1.0.20";
2021-09-22 22:24:12 +01:00
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
2021-10-29 05:44:23 +01:00
sha256 = "sha256-QMuixP4+wYVcF3s848cw6103PGDON4Inj2Nypt4FGIU=";
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 ];
};
}