diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-02-02 09:16:40 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-02-09 01:39:40 +0100 |
commit | f639ec7fc8fa8d473c5402d9b4b64212daaa25f4 (patch) | |
tree | 7dea9078d05003372ee770c29602bfcb31c9425d /pkgs/tools/misc/iotools | |
parent | a29eeb386efa82e51bf7af37ac4446932fc68083 (diff) | |
download | nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar.gz nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar.bz2 nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar.lz nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar.xz nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.tar.zst nixpkgs-f639ec7fc8fa8d473c5402d9b4b64212daaa25f4.zip |
iotools: Init at 18949fdc4de
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'pkgs/tools/misc/iotools')
-rw-r--r-- | pkgs/tools/misc/iotools/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/misc/iotools/default.nix b/pkgs/tools/misc/iotools/default.nix new file mode 100644 index 00000000000..f123d54a023 --- /dev/null +++ b/pkgs/tools/misc/iotools/default.nix @@ -0,0 +1,35 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "iotools"; + version = "unstable-2017-12-11"; + + src = fetchFromGitHub { + owner = "adurbin"; + repo = pname; + rev = "18949fdc4dedb1da3f51ee83a582b112fb9f2c71"; + sha256 = "0vymnah44d5bzsjhfmxkcrlrikkp0db22k7a1s8bknz7glk9fldn"; + }; + + makeFlags = [ "DEBUG=0" "STATIC=0" ]; + + installPhase = '' + install -Dm755 iotools -t $out/bin + ''; + + meta = with lib; { + description = "Set of simple command line tools which allow access to + hardware device registers"; + longDescription = '' + Provides a set of simple command line tools which allow access to + hardware device registers. Supported register interfaces include PCI, + IO, memory mapped IO, SMBus, CPUID, and MSR. Also included are some + utilities which allow for simple arithmetic, logical, and other + operations. + ''; + homepage = "https://github.com/adurbin/iotools"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ felixsinger ]; + platforms = platforms.linux; + }; +} |