linuxPackages.iio-utils: init (#280523)

This commit is contained in:
Arne Keller 2024-12-20 12:58:12 +01:00 committed by GitHub
commit 255bca1a8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ lib, stdenv, kernel }:
stdenv.mkDerivation {
pname = "iio-utils";
inherit (kernel) src version;
makeFlags = [ "bindir=${placeholder "out"}/bin" ];
postPatch = ''
cd tools/iio
'';
meta = with lib; {
description = "Userspace tool for interacting with Linux IIO";
homepage = "https://www.kernel.org/";
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}

View file

@ -375,6 +375,8 @@ in {
e1000e = if lib.versionOlder kernel.version "4.10" then callPackage ../os-specific/linux/e1000e {} else null;
iio-utils = if lib.versionAtLeast kernel.version "4.1" then callPackage ../os-specific/linux/iio-utils { } else null;
intel-speed-select = if lib.versionAtLeast kernel.version "5.3" then callPackage ../os-specific/linux/intel-speed-select { } else null;
ipu6-drivers = callPackage ../os-specific/linux/ipu6-drivers {};