depot/third_party/nixpkgs/pkgs/development/libraries/libad9361/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

25 lines
669 B
Nix

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