qrca: init
This commit is contained in:
parent
6d4aeb4377
commit
374cef7211
5 changed files with 86 additions and 2 deletions
|
@ -81,4 +81,5 @@
|
|||
faup1090 = pkgs.callPackage ./piaware/faup1090.nix { };
|
||||
fr24feed = pkgs.callPackage ./fr24feed { };
|
||||
|
||||
qrca = pkgs.libsForQt5.callPackage ./qrca { };
|
||||
} // (import ./heptapod-runner args)
|
||||
|
|
62
nix/pkgs/qrca/default.nix
Normal file
62
nix/pkgs/qrca/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitLab
|
||||
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kcontacts
|
||||
, knotifications
|
||||
, prison
|
||||
, kpurpose
|
||||
, kservice
|
||||
, kio
|
||||
, ki18n
|
||||
, kirigami-addons
|
||||
, kirigami2
|
||||
, networkmanager-qt
|
||||
, qtquickcontrols2
|
||||
, qtmultimedia
|
||||
, syndication
|
||||
, gst_all_1
|
||||
}:
|
||||
|
||||
let
|
||||
pluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]);
|
||||
in
|
||||
mkDerivation rec {
|
||||
pname = "qrca";
|
||||
version = "unstable-2023-01-01";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "plasma-mobile";
|
||||
repo = "qrca";
|
||||
rev = "8e01967f273b1d5b68105b22de5086e15e1afe90";
|
||||
domain = "invent.kde.org";
|
||||
sha256 = "0bz07ij80khf5qqm3aja0kz7yjlnzf0887glhsiyz9yz8iw3ak2d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kcontacts
|
||||
ki18n
|
||||
kirigami-addons
|
||||
kirigami2
|
||||
knotifications
|
||||
kpurpose
|
||||
kservice
|
||||
kio
|
||||
networkmanager-qt
|
||||
prison
|
||||
qtmultimedia
|
||||
qtquickcontrols2
|
||||
];
|
||||
|
||||
qtWrapperArgs = [ "--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${pluginPath}" ];
|
||||
}
|
19
third_party/nixpkgs/patches/prison-zxing.patch
vendored
Normal file
19
third_party/nixpkgs/patches/prison-zxing.patch
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
diff --git a/pkgs/development/libraries/kde-frameworks/prison.nix b/pkgs/development/libraries/kde-frameworks/prison.nix
|
||||
--- a/pkgs/development/libraries/kde-frameworks/prison.nix
|
||||
+++ b/pkgs/development/libraries/kde-frameworks/prison.nix
|
||||
@@ -2,12 +2,13 @@
|
||||
mkDerivation,
|
||||
extra-cmake-modules,
|
||||
libdmtx, qrencode, qtbase,
|
||||
+ qtmultimedia, zxing-cpp,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "prison";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
- buildInputs = [ libdmtx qrencode ];
|
||||
- propagatedBuildInputs = [ qtbase ];
|
||||
+ buildInputs = [ libdmtx qrencode zxing-cpp ];
|
||||
+ propagatedBuildInputs = [ qtbase qtmultimedia ];
|
||||
outputs = [ "out" "dev" ];
|
||||
}
|
1
third_party/nixpkgs/patches/series
vendored
1
third_party/nixpkgs/patches/series
vendored
|
@ -1 +1,2 @@
|
|||
kubo-multiaddr.patch
|
||||
prison-zxing.patch
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
mkDerivation,
|
||||
extra-cmake-modules,
|
||||
libdmtx, qrencode, qtbase,
|
||||
qtmultimedia, zxing-cpp,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "prison";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ libdmtx qrencode ];
|
||||
propagatedBuildInputs = [ qtbase ];
|
||||
buildInputs = [ libdmtx qrencode zxing-cpp ];
|
||||
propagatedBuildInputs = [ qtbase qtmultimedia ];
|
||||
outputs = [ "out" "dev" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue