1 { lib, stdenv, fetchurl }:
5 version = "unstable-2004-08-05";
9 "http://lartmaker.nl/lartware/port/devmem2.c"
10 "https://raw.githubusercontent.com/hackndev/tools/7ed212230f8fbb1da3424a15ee88de3279bf96ec/devmem2.c"
12 sha256 = "14f1k7v6i1yaxg4xcaaf5i4aqn0yabba857zjnbg9wiymy82qf7c";
15 hardeningDisable = [ "format" ]; # fix compile error
19 install -D devmem2 "$out/bin/devmem2"
23 description = "Simple program to read/write from/to any location in memory";
24 mainProgram = "devmem2";
25 homepage = "http://lartmaker.nl/lartware/port/";
26 license = licenses.gpl2Plus;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ bjornfor ];