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

28 lines
640 B
Nix
Raw Normal View History

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