libbladeRF: update from 1.1.0 to 1.4.0
This commit is contained in:
parent
f3e2b31297
commit
a5360c5b6e
@ -1,14 +1,15 @@
|
|||||||
{ stdenv, fetchgit, pkgconfig, cmake, git, doxygen, help2man, tecla, libusb1, udev }:
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, git, doxygen, help2man, tecla
|
||||||
|
, libusb1, udev }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.1.0";
|
version = "1.4.0";
|
||||||
name = "libbladeRF-v${version}";
|
name = "libbladeRF-v${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Nuand/bladeRF/";
|
owner = "Nuand";
|
||||||
rev = "refs/tags/libbladeRF_v${version}";
|
repo = "bladeRF";
|
||||||
sha256 = "19qd26yflig51scknyjf3r3nmnc2bni75294jpsv0idzqfj87lbr";
|
rev = "libbladeRF_v${version}";
|
||||||
name = "libbladeRF_v${version}-checkout";
|
sha256 = "1y00hqsmqaix4dql8mb75zx87zvn8b483yxv53x9qyjspksbs60c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig cmake git doxygen help2man tecla libusb1 udev ];
|
buildInputs = [ pkgconfig cmake git doxygen help2man tecla libusb1 udev ];
|
||||||
@ -19,7 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
# Let us avoid nettools as a dependency.
|
# Let us avoid nettools as a dependency.
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's/$(hostname)/hostname/' host/utilities/bladeRF-cli/src/cmd/doc/generate.bash
|
sed -i 's/$(hostname)/hostname/' host/utilities/bladeRF-cli/src/cmd/doc/generate.bash
|
||||||
sed -i 's/ --no-info/ --no-info --no-discard-stderr/' host/utilities/bladeRF-cli/CMakeLists.txt
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@ -29,11 +29,11 @@ stdenv.mkDerivation rec {
|
|||||||
"-DBUILD_DOCUMENTATION=ON"
|
"-DBUILD_DOCUMENTATION=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.nuand.com/";
|
homepage = https://www.nuand.com/;
|
||||||
description = "Supporting library of the BladeRF SDR opensource hardware";
|
description = "Supporting library of the BladeRF SDR opensource hardware";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
maintainers = [ stdenv.lib.maintainers.funfunctor ];
|
maintainers = with maintainers; [ funfunctor ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user