depot/third_party/nixpkgs/pkgs/tools/misc/scanmem/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
747 B
Nix

{ stdenv, autoconf, automake, intltool, libtool, fetchFromGitHub, readline }:
stdenv.mkDerivation rec {
version = "0.17";
pname = "scanmem";
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;
};
}