git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #111632 from felixsinger/iotools
commitb0a1efd8bb5b7972ec01cf6dbe50182329382992 authorSandro <sandro.jaeckel@gmail.com> dateTue 9 Feb 2021, 09:15 (6 years ago) parenta073dd5f639ec7
3 files changed+43
maintainers/maintainer-list.nix+6 pkgs/tools/misc/iotools/default.nix+35 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -3049,6 +3049,12 @@
30493049 githubId = 9959940;
30503050 name = "Andreas Fehn";
30513051 };
3052+ felixsinger = {
3053+ email = "felixsinger@posteo.net";
3054+ github = "felixsinger";
3055+ githubId = 628359;
3056+ name = "Felix Singer";
3057+ };
30523058 felschr = {
30533059 email = "dev@felschr.com";
30543060 github = "felschr";
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
@@ -2460,6 +2460,8 @@ in
24602460
24612461 interlock = callPackage ../servers/interlock {};
24622462
2463+ iotools = callPackage ../tools/misc/iotools { };
2464+
24632465 jellyfin = callPackage ../servers/jellyfin { };
24642466
24652467 jellyfin_10_5 = callPackage ../servers/jellyfin/10.5.x.nix { };