diff options
author | misuzu <bakalolka@gmail.com> | 2020-04-04 23:47:57 +0300 |
---|---|---|
committer | misuzu <bakalolka@gmail.com> | 2020-04-05 13:28:48 +0300 |
commit | 220ce926b3e41a1fa4f10763758345c9b18867f0 (patch) | |
tree | d17e8ea4b872d16522f0345591cec55d1a5f0bcb /pkgs/tools/system | |
parent | 3420bd63b9bbd4eb4e544b898a072c6fbbc9cfa9 (diff) | |
download | nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar.gz nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar.bz2 nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar.lz nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar.xz nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.tar.zst nixpkgs-220ce926b3e41a1fa4f10763758345c9b18867f0.zip |
kmon: init at 1.0.0
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/kmon/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/system/kmon/default.nix b/pkgs/tools/system/kmon/default.nix new file mode 100644 index 00000000000..1ac64d57192 --- /dev/null +++ b/pkgs/tools/system/kmon/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, rustPlatform, python3, libxcb }: + +rustPlatform.buildRustPackage rec { + pname = "kmon"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "orhun"; + repo = pname; + rev = "v${version}"; + sha256 = "1zsgyigr6k0zqhhv0icpvvfij7r7fj0l2f77i5zh1vyb89pni50h"; + }; + + cargoSha256 = "15lj6ryll24xdmv8gil04prhcri2d3b1rxqjrwx70blfrlvvhxa8"; + + nativeBuildInputs = [ python3 ]; + + buildInputs = [ libxcb ]; + + meta = with stdenv.lib; { + description = "Linux Kernel Manager and Activity Monitor"; + homepage = "https://github.com/orhun/kmon"; + license = with licenses; [ gpl3 ]; + platforms = platforms.linux; + maintainers = with maintainers; [ misuzu ]; + }; +} |