mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
suwidgets: init at unstable-2022-04-03
This commit is contained in:
parent
eb5258213e
commit
846c75400e
51
pkgs/applications/radio/suwidgets/default.nix
Normal file
51
pkgs/applications/radio/suwidgets/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, qmake
|
||||
, qtbase
|
||||
, pkg-config
|
||||
, sigutils
|
||||
, fftwSinglePrec
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "suwidgets";
|
||||
version = "unstable-2022-04-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BatchDrake";
|
||||
repo = "SuWidgets";
|
||||
rev = "826b3eeae5b682dc063f53b427caa9c7c48131ea";
|
||||
sha256 = "sha256-cyFLsP+8GbALdlgEnVX4201Qq/KAxb/Vv+sJqbFpvUk=";
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace SuWidgets.pri \
|
||||
--replace "PKGCONFIG += sigutils fftw3" "PKGCONFIG += sigutils fftw3f"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
sigutils
|
||||
fftwSinglePrec
|
||||
];
|
||||
|
||||
qmakeFlags = [
|
||||
"SuWidgetsLib.pro"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sigutils-related widgets";
|
||||
homepage = "https://github.com/BatchDrake/SuWidgets";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ polygon oxapentane ];
|
||||
};
|
||||
}
|
@ -22051,6 +22051,8 @@ with pkgs;
|
||||
|
||||
splat = callPackage ../applications/radio/splat { };
|
||||
|
||||
suwidgets = libsForQt5.callPackage ../applications/radio/suwidgets { };
|
||||
|
||||
sratom = callPackage ../development/libraries/audio/sratom { };
|
||||
|
||||
srm = callPackage ../tools/security/srm { };
|
||||
|
Loading…
Reference in New Issue
Block a user