mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
guglielmo: init at 0.3
This commit is contained in:
parent
471246420d
commit
bdd27a81be
55
pkgs/applications/radio/guglielmo/default.nix
Normal file
55
pkgs/applications/radio/guglielmo/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config
|
||||
, airspy
|
||||
, librtlsdr
|
||||
, fdk_aac
|
||||
, faad2
|
||||
, fftwFloat
|
||||
, libsndfile
|
||||
, libsamplerate
|
||||
, portaudio
|
||||
, qtmultimedia
|
||||
, qwt
|
||||
} :
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "guglielmo";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marcogrecopriolo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0s1iz9s0k897jayiwl3yr9ylpclw6bzcpmzhxqn0mkd7jhgfl4vx";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mv $out/linux-bin $out/bin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
airspy
|
||||
librtlsdr
|
||||
fdk_aac
|
||||
faad2
|
||||
fftwFloat
|
||||
libsndfile
|
||||
libsamplerate
|
||||
portaudio
|
||||
qtmultimedia
|
||||
qwt
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
# guglielmo opens SDR libraries at run time
|
||||
patchelf --add-rpath "${airspy}/lib:${librtlsdr}/lib" $out/bin/.guglielmo-wrapped
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qt based FM / Dab tuner";
|
||||
homepage = "https://github.com/marcogrecopriolo/guglielmo";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.markuskowa ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1815,6 +1815,8 @@ with pkgs;
|
||||
|
||||
gucci = callPackage ../tools/text/gucci { };
|
||||
|
||||
guglielmo = libsForQt5.callPackage ../applications/radio/guglielmo { };
|
||||
|
||||
grc = python3Packages.callPackage ../tools/misc/grc { };
|
||||
|
||||
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
|
||||
|
Loading…
Reference in New Issue
Block a user