nixpkgs/pkgs/tools/misc/scanmem/default.nix
2018-01-22 19:18:23 +01:00

28 lines
755 B
Nix

{ stdenv, autoconf, automake, intltool, libtool, fetchFromGitHub, readline }:
stdenv.mkDerivation rec {
version = "0.17";
name = "scanmem-${version}";
src = fetchFromGitHub {
owner = "scanmem";
repo = "scanmem";
rev = "v${version}";
sha256 = "17p8sh0rj8yqz36ria5bp48c8523zzw3y9g8sbm2jwq7sc27i7s9";
};
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;
};
}