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

28 lines
639 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-15 05:16:34 +00:00
version = "1.1.0";
2021-09-22 22:24:12 +01:00
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
2021-11-15 05:16:34 +00:00
sha256 = "sha256-VA5n2gIFRUUsp4jBG1j5dqH5/tP5VAChm5kqexdD24k=";
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 ];
};
}