nixpkgs/pkgs/by-name/io/iotools/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

47 lines
1.1 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "iotools";
version = "unstable-2017-12-11";
src = fetchFromGitHub {
owner = "adurbin";
repo = pname;
rev = "18949fdc4dedb1da3f51ee83a582b112fb9f2c71";
hash = "sha256-tlGXJn3n27mQDupMIVYDd86YaWazVwel/qs0QqCy1W8=";
};
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 = [
"x86_64-linux"
"i686-linux"
];
mainProgram = "iotools";
};
}