aws-lc: 1.39.0 -> 1.42.0 (#369942)
[NixPkgs.git] / pkgs / by-name / sw / swapview / package.nix
blobb15b9d6d062dcd62b4b19d9183eb3db9b8ab83ec
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "swapview";
9   version = "0.1.0";
11   src = fetchFromGitHub {
12     owner = "lilydjwg";
13     repo = "swapview";
14     rev = "v${version}";
15     sha256 = "0339biydk997j5r72vzp7djwkscsz89xr3936nshv23fmxjh2rzj";
16   };
18   cargoHash = "sha256-v3Fd08s70YX7pEIWYcgpC2daerfZhtzth4haKfUy0Q8=";
20   meta = with lib; {
21     description = "Simple program to view processes' swap usage on Linux";
22     mainProgram = "swapview";
23     homepage = "https://github.com/lilydjwg/swapview";
24     platforms = platforms.linux;
25     license = with licenses; [ bsd3 ];
26     maintainers = with maintainers; [ oxalica ];
27   };