nixpkgs-suyu/pkgs/os-specific/linux/pagemon/default.nix
R. RyanTM 5673d74dd1 pagemon: 0.01.12 -> 0.01.13
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pagemon/versions.

These checks were done:

- built on NixOS
- /nix/store/i6bq7x5lbw83spjs8irjihvrr09ygkif-pagemon-0.01.13/bin/pagemon passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 0.01.13 with grep in /nix/store/i6bq7x5lbw83spjs8irjihvrr09ygkif-pagemon-0.01.13
- directory tree listing: https://gist.github.com/b7b92de7a71b30515369214111f387e0
- du listing: https://gist.github.com/257db82673b5cf4032834d2d9a93b431
2018-06-19 16:13:49 +00:00

37 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
name = "pagemon-${version}";
version = "0.01.13";
src = fetchFromGitHub {
sha256 = "055qniys5xv0ivdvdws5vwdgfyj6iyq02v5nn945l1x59rwnb541";
rev = "V${version}";
repo = "pagemon";
owner = "ColinIanKing";
};
buildInputs = [ ncurses ];
makeFlags = [
"BINDIR=$(out)/bin"
"MANDIR=$(out)/share/man/man8"
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Interactive memory/page monitor for Linux";
longDescription = ''
pagemon is an ncurses based interactive memory/page monitoring tool
allowing one to browse the memory map of an active running process
on Linux.
pagemon reads the PTEs of a given process and display the soft/dirty
activity in real time. The tool identifies the type of memory mapping
a page belongs to, so one can easily scan through memory looking at
pages of memory belonging data, code, heap, stack, anonymous mappings
or even swapped-out pages.
'';
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}