diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2021-10-18 10:24:22 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@gmail.com> | 2021-10-20 09:44:08 +0300 |
commit | d4a0547fedb48b028cccba6c34fa2aedde834f38 (patch) | |
tree | 1488d673cb81821d6d0d8b94f758284ff905c0d1 /pkgs/development/libraries/libad9361 | |
parent | 27a748c74fa3e0e0e239a2d5a60d2f3732c75bf4 (diff) |
libad9361: init at 0.2
Diffstat (limited to 'pkgs/development/libraries/libad9361')
-rw-r--r-- | pkgs/development/libraries/libad9361/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libad9361/default.nix b/pkgs/development/libraries/libad9361/default.nix new file mode 100644 index 0000000000000..74707897bd0ca --- /dev/null +++ b/pkgs/development/libraries/libad9361/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake, libiio }: + +stdenv.mkDerivation rec { + pname = "libad9361"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "analogdevicesinc"; + repo = "libad9361-iio"; + rev = "v${version}"; + hash = "sha256-dYoFWRnREvlOC514ZpmmvoS37DmIkVqfq7JPpTXqXd8="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ libiio ]; + + meta = with lib; { + description = "IIO AD9361 library for filter design and handling, multi-chip sync, etc"; + homepage = "http://analogdevicesinc.github.io/libad9361-iio/"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +} |