about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/scanmem/default.nix
blob: 65b7b47256a8b2abad6632b5d843b86d6958c227 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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;
  };
}