Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 23 lines 409 B view raw
1{ 2 lib, 3 stdenv, 4 kernel, 5}: 6 7stdenv.mkDerivation { 8 pname = "iio-utils"; 9 inherit (kernel) src version; 10 11 makeFlags = [ "bindir=${placeholder "out"}/bin" ]; 12 13 postPatch = '' 14 cd tools/iio 15 ''; 16 17 meta = with lib; { 18 description = "Userspace tool for interacting with Linux IIO"; 19 homepage = "https://www.kernel.org/"; 20 license = licenses.gpl2Only; 21 platforms = platforms.linux; 22 }; 23}