Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
- Loading branch information
1 parent
56b9f6f
commit 0f2b10d
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters