mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
linuxPackages.iio-utils: init
This commit is contained in:
parent
317484b1ea
commit
2b0aab5850
2 changed files with 21 additions and 0 deletions
19
pkgs/os-specific/linux/iio-utils/default.nix
Normal file
19
pkgs/os-specific/linux/iio-utils/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -357,6 +357,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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue