1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2017-12-11";
7 src = fetchFromGitHub {
10 rev = "18949fdc4dedb1da3f51ee83a582b112fb9f2c71";
11 sha256 = "0vymnah44d5bzsjhfmxkcrlrikkp0db22k7a1s8bknz7glk9fldn";
14 makeFlags = [ "DEBUG=0" "STATIC=0" ];
17 install -Dm755 iotools -t $out/bin
21 description = "Set of simple command line tools which allow access to
22 hardware device registers";
24 Provides a set of simple command line tools which allow access to
25 hardware device registers. Supported register interfaces include PCI,
26 IO, memory mapped IO, SMBus, CPUID, and MSR. Also included are some
27 utilities which allow for simple arithmetic, logical, and other
30 homepage = "https://github.com/adurbin/iotools";
31 license = licenses.gpl2Only;
32 maintainers = with maintainers; [ felixsinger ];
33 platforms = [ "x86_64-linux" "i686-linux" ];