nixpkgs/pkgs/tools/misc/scanmem/default.nix
2017-04-09 01:29:41 -05:00

28 lines
761 B
Nix

{ stdenv, autoconf, automake, intltool, libtool, fetchFromGitHub, readline }:
stdenv.mkDerivation rec {
version = "0.16";
name = "scanmem-${version}";
src = fetchFromGitHub {
owner = "scanmem";
repo = "scanmem";
rev = "v${version}";
sha256 = "131rx6cpnlz2x36r0ry80gqapmxpz2qc3h0040xhvp7ydmd4fyjd";
};
nativeBuildInputs = [ autoconf automake intltool libtool ];
buildInputs = [ readline ];
preConfigure = ''
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = "https://github.com/scanmem/scanmem";
description = "Memory scanner for finding and poking addresses in executing processes";
maintainers = [ maintainers.chattered ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}