limesuite: use wxGTK30-gtk3
This commit is contained in:
parent
78f5a644fe
commit
154cbdece1
|
@ -1,14 +1,11 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake
|
{ stdenv, fetchFromGitHub, cmake
|
||||||
, sqlite, wxGTK30, libusb1, soapysdr
|
, sqlite, wxGTK30-gtk3, libusb1, soapysdr
|
||||||
, mesa_glu, libX11, gnuplot, fltk
|
, mesa_glu, libX11, gnuplot, fltk
|
||||||
} :
|
} :
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "20.01.0";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
pname = "limesuite";
|
pname = "limesuite";
|
||||||
inherit version;
|
version = "20.01.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "myriadrf";
|
owner = "myriadrf";
|
||||||
|
@ -17,14 +14,16 @@ in stdenv.mkDerivation {
|
||||||
sha256 = "01z4idcby2lm34bbnpbp400ski7p61jjiir6sy6dalnvsl52m7vx";
|
sha256 = "01z4idcby2lm34bbnpbp400ski7p61jjiir6sy6dalnvsl52m7vx";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DOpenGL_GL_PREFERENCE=GLVND"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libusb1
|
libusb1
|
||||||
sqlite
|
sqlite
|
||||||
wxGTK30
|
wxGTK30-gtk3
|
||||||
fltk
|
fltk
|
||||||
gnuplot
|
gnuplot
|
||||||
libusb1
|
libusb1
|
||||||
|
@ -34,11 +33,8 @@ in stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
install -Dm444 -t $out/lib/udev/rules.d ../udev-rules/64-limesuite.rules
|
||||||
cp ../udev-rules/64-limesuite.rules $out/lib/udev/rules.d
|
install -Dm444 -t $out/share/limesuite bin/Release/lms7suite_mcu/*
|
||||||
|
|
||||||
mkdir -p $out/share/limesuite
|
|
||||||
cp bin/Release/lms7suite_mcu/* $out/share/limesuite
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue