pkgtop: init at 2.4.1
This commit is contained in:
parent
275d807773
commit
5dffbc4dd9
30
pkgs/tools/misc/pkgtop/default.nix
Normal file
30
pkgs/tools/misc/pkgtop/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "pkgtop";
|
||||||
|
version = "2.4.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "orhun";
|
||||||
|
repo = "pkgtop";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-Skk7Zur2UMxNjrJmcp+FvUuNvbh9HmzuZ5mWcvhxcKk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-dlDbNym7CNn5088znMNgGAr2wBM3+nYv3q362353aLs=";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/bin/{cmd,pkgtop}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Interactive package manager and resource monitor designed for the GNU/Linux";
|
||||||
|
homepage = "https://github.com/orhun/pkgtop";
|
||||||
|
changelog = "https://github.com/orhun/pkgtop/releases/tag/${version}";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22633,6 +22633,8 @@ with pkgs;
|
||||||
|
|
||||||
pkgdiff = callPackage ../tools/misc/pkgdiff { };
|
pkgdiff = callPackage ../tools/misc/pkgdiff { };
|
||||||
|
|
||||||
|
pkgtop = callPackage ../tools/misc/pkgtop { };
|
||||||
|
|
||||||
place-cursor-at = haskell.lib.compose.justStaticExecutables haskellPackages.place-cursor-at;
|
place-cursor-at = haskell.lib.compose.justStaticExecutables haskellPackages.place-cursor-at;
|
||||||
|
|
||||||
platform-folders = callPackage ../development/libraries/platform-folders { };
|
platform-folders = callPackage ../development/libraries/platform-folders { };
|
||||||
|
|
Loading…
Reference in a new issue