@@ -0,0 +1,26 @@
1+{ lib
2+, fetchFromGitHub
3+, stdenv
4+}:
5+
6+stdenv.mkDerivation rec {
7+ pname = "btop";
8+ version = "1.0.5";
9+
10+ src = fetchFromGitHub {
11+ owner = "aristocratos";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "sha256-pa9i65ndx8LMTMRXyL2GXCauM6Q8gAb16zGOylQFwL0=";
15+ };
16+
17+ installFlags = [ "PREFIX=$(out)" ];
18+
19+ meta = with lib; {
20+ description = "A monitor of resources";
21+ homepage = "https://github.com/aristocratos/btop";
22+ license = licenses.asl20;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ rmcgibbo ];
25+ };
26+}