mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #111632 from felixsinger/iotools
This commit is contained in:
commit
b0a1efd8bb
|
@ -3049,6 +3049,12 @@
|
|||
githubId = 9959940;
|
||||
name = "Andreas Fehn";
|
||||
};
|
||||
felixsinger = {
|
||||
email = "felixsinger@posteo.net";
|
||||
github = "felixsinger";
|
||||
githubId = 628359;
|
||||
name = "Felix Singer";
|
||||
};
|
||||
felschr = {
|
||||
email = "dev@felschr.com";
|
||||
github = "felschr";
|
||||
|
|
35
pkgs/tools/misc/iotools/default.nix
Normal file
35
pkgs/tools/misc/iotools/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -2460,6 +2460,8 @@ in
|
|||
|
||||
interlock = callPackage ../servers/interlock {};
|
||||
|
||||
iotools = callPackage ../tools/misc/iotools { };
|
||||
|
||||
jellyfin = callPackage ../servers/jellyfin { };
|
||||
|
||||
jellyfin_10_5 = callPackage ../servers/jellyfin/10.5.x.nix { };
|
||||
|
|
Loading…
Reference in a new issue