git.iko.soy/typeable/nixpkgs
on master help sign in
iotools: Init at 18949fdc4de

Signed-off-by: Felix Singer <felixsinger@posteo.net>

commitf639ec7fc8fa8d473c5402d9b4b64212daaa25f4 authorFelix Singer <felixsinger@posteo.net> dateTue 2 Feb 2021, 09:16 (6 years ago) parenta29eeb3
2 files changed+37
pkgs/tools/misc/iotools/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/iotools/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv, lib, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "iotools";
5+ version = "unstable-2017-12-11";
6+
7+ src = fetchFromGitHub {
8+ owner = "adurbin";
9+ repo = pname;
10+ rev = "18949fdc4dedb1da3f51ee83a582b112fb9f2c71";
11+ sha256 = "0vymnah44d5bzsjhfmxkcrlrikkp0db22k7a1s8bknz7glk9fldn";
12+ };
13+
14+ makeFlags = [ "DEBUG=0" "STATIC=0" ];
15+
16+ installPhase = ''
17+ install -Dm755 iotools -t $out/bin
18+ '';
19+
20+ meta = with lib; {
21+ description = "Set of simple command line tools which allow access to
22+ hardware device registers";
23+ longDescription = ''
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
28+ operations.
29+ '';
30+ homepage = "https://github.com/adurbin/iotools";
31+ license = licenses.gpl2Only;
32+ maintainers = with maintainers; [ felixsinger ];
33+ platforms = platforms.linux;
34+ };
35+}
pkgs/top-level/all-packages.nix+2
@@ -2440,6 +2440,8 @@ in
24402440
24412441 interlock = callPackage ../servers/interlock {};
24422442
2443+ iotools = callPackage ../tools/misc/iotools { };
2444+
24432445 jellyfin = callPackage ../servers/jellyfin { };
24442446
24452447 jellyfin_10_5 = callPackage ../servers/jellyfin/10.5.x.nix { };