mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
Merge pull request #93176 from oxalica/init/swapview
swapview: init at 0.1.0
This commit is contained in:
commit
8d12c667ff
23
pkgs/os-specific/linux/swapview/default.nix
Normal file
23
pkgs/os-specific/linux/swapview/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "swapview";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lilydjwg";
|
||||
repo = "swapview";
|
||||
rev = "v${version}";
|
||||
sha256 = "0339biydk997j5r72vzp7djwkscsz89xr3936nshv23fmxjh2rzj";
|
||||
};
|
||||
|
||||
cargoSha256 = "0z99pqd41y8cci3yvwsnm5zbq7pzli62z8qqqghmz1hcq5pb5q7g";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple program to view processes' swap usage on Linux";
|
||||
homepage = "https://github.com/lilydjwg/swapview";
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ oxalica ];
|
||||
};
|
||||
}
|
@ -7470,6 +7470,8 @@ in
|
||||
|
||||
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };
|
||||
|
||||
swapview = callPackage ../os-specific/linux/swapview/default.nix { };
|
||||
|
||||
swec = callPackage ../tools/networking/swec { };
|
||||
|
||||
svnfs = callPackage ../tools/filesystems/svnfs { };
|
||||
|
Loading…
Reference in New Issue
Block a user