Skip to content

Commit

Permalink
libiio: init at 0.15
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <aseipp@pobox.com>
  • Loading branch information
thoughtpolice committed Sep 13, 2018
1 parent 56b9f6f commit 0f2b10d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/libraries/libiio/default.nix
@@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub
, cmake, flex, bison
, libxml2
}:

stdenv.mkDerivation rec {
name = "libiio-${version}";
version = "0.15";

src = fetchFromGitHub {
owner = "analogdevicesinc";
repo = "libiio";
rev = "refs/tags/v${version}";
sha256 = "05sbvvjka03qi080ad6g2y6gfwqp3n3zv7dpv237dym0zjyxqfa7";
};

outputs = [ "out" "lib" "dev" ];

nativeBuildInputs = [ cmake flex bison ];
buildInputs = [ libxml2 ];

meta = with stdenv.lib; {
description = "API for interfacing with the Linux Industrial I/O Subsystem";
homepage = https://github.com/analogdevicesinc/libiio;
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10395,6 +10395,8 @@ with pkgs;

libgrss = callPackage ../development/libraries/libgrss { };

libiio = callPackage ../development/libraries/libiio { };

libseccomp = callPackage ../development/libraries/libseccomp { };

libsecret = callPackage ../development/libraries/libsecret { };
Expand Down

0 comments on commit 0f2b10d

Please sign in to comment.