nixpkgs/pkgs/development/libraries/libiio/default.nix
Austin Seipp 0f2b10d1ac libiio: init at 0.15
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-09-12 23:33:57 -05:00

30 lines
746 B
Nix

{ 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 ];
};
}