nixpkgs/pkgs/tools/misc/scanmem/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
745 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;
};
}