swapview: init at 0.1.0

This commit is contained in:
oxalica 2020-06-01 15:37:34 +08:00
parent 5d1064a212
commit dea3f0c841
No known key found for this signature in database
GPG key ID: CED392DE0C483D00
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View file

@ -6989,6 +6989,8 @@ in
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };
swapview = callPackage ../os-specific/linux/swapview/default.nix { };
swec = callPackage ../tools/networking/swec { };
swfdec = callPackage ../tools/graphics/swfdec {};