File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
os-specific/linux/iio-utils Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ { lib , stdenv , kernel } :
2+
3+ stdenv . mkDerivation {
4+ pname = "iio-utils" ;
5+ inherit ( kernel ) src version ;
6+
7+ makeFlags = [ "bindir=${ placeholder "out" } /bin" ] ;
8+
9+ postPatch = ''
10+ cd tools/iio
11+ '' ;
12+
13+ meta = with lib ; {
14+ description = "Userspace tool for interacting with Linux IIO" ;
15+ homepage = "https://www.kernel.org/" ;
16+ license = licenses . gpl2Only ;
17+ platforms = platforms . linux ;
18+ } ;
19+ }
Original file line number Diff line number Diff line change 357357
358358 e1000e = if lib . versionOlder kernel . version "4.10" then callPackage ../os-specific/linux/e1000e { } else null ;
359359
360+ iio-utils = if lib . versionAtLeast kernel . version "4.1" then callPackage ../os-specific/linux/iio-utils { } else null ;
361+
360362 intel-speed-select = if lib . versionAtLeast kernel . version "5.3" then callPackage ../os-specific/linux/intel-speed-select { } else null ;
361363
362364 ipu6-drivers = callPackage ../os-specific/linux/ipu6-drivers { } ;
You can’t perform that action at this time.
0 commit comments