Merge pull request #233875 from wegank/liblxi-darwin
liblxi: add darwin support
This commit is contained in:
commit
9709e5cf22
|
@ -11,12 +11,17 @@ stdenv.mkDerivation rec {
|
|||
owner = "lxi-tools";
|
||||
repo = "liblxi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jS0huNkbyKrsJ3NkenrYtjkzLakOsTJpwlgSo98ribE=";
|
||||
hash = "sha256-jS0huNkbyKrsJ3NkenrYtjkzLakOsTJpwlgSo98ribE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja cmake pkg-config rpcsvc-proto ];
|
||||
|
||||
buildInputs = [ libtirpc avahi libxml2 ];
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [
|
||||
libtirpc
|
||||
avahi
|
||||
] ++ [
|
||||
libxml2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for communicating with LXI compatible instruments";
|
||||
|
@ -28,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
homepage = "https://lxi-tools.github.io/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.vq ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
homepage = "https://lxi-tools.github.io/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.vq ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue