Merge pull request #174875 from doronbehar/pkg/syncthingtray
This commit is contained in:
commit
abed44794d
3 changed files with 69 additions and 3 deletions
|
@ -7,6 +7,8 @@
|
|||
, extra-cmake-modules
|
||||
, cpp-utilities
|
||||
, qtutilities
|
||||
, qtforkawesome
|
||||
, boost
|
||||
, cmake
|
||||
, kio
|
||||
, plasma-framework
|
||||
|
@ -19,17 +21,23 @@
|
|||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "1.1.3";
|
||||
version = "1.1.20";
|
||||
pname = "syncthingtray";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = "syncthingtray";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ovit2XSkxSjcbpqQUv8IzMqfsfItbtXLbx0/Vy0+J0Y=";
|
||||
sha256 = "sha256-T0ddAROwVSh+IKGZZNDMC7YB2IfQZal2pAQ5ArirtjI=";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase cpp-utilities qtutilities ]
|
||||
buildInputs = [
|
||||
qtbase
|
||||
cpp-utilities
|
||||
qtutilities
|
||||
boost
|
||||
qtforkawesome
|
||||
]
|
||||
++ lib.optionals webviewSupport [ qtwebengine ]
|
||||
++ lib.optionals jsSupport [ qtdeclarative ]
|
||||
++ lib.optionals kioPluginSupport [ kio ]
|
||||
|
|
56
pkgs/development/libraries/qtforkawesome/default.nix
Normal file
56
pkgs/development/libraries/qtforkawesome/default.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cpp-utilities
|
||||
, qtutilities
|
||||
, qttools
|
||||
, qtbase
|
||||
, cmake
|
||||
, perl
|
||||
}:
|
||||
|
||||
let
|
||||
fork_awesome_release = fetchFromGitHub {
|
||||
owner = "ForkAwesome";
|
||||
repo = "Fork-Awesome";
|
||||
rev = "1.2.0";
|
||||
sha256 = "sha256-zG6/0dWjU7/y/oDZuSEv+54Mchng64LVyV8bluskYzc=";
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "qtforkawesome";
|
||||
version = "0.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-J3F+ikz6gQqV+JsOX8EpMOWoTmI6UK5KndFALUo4oiU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
cpp-utilities
|
||||
qtutilities
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qttools
|
||||
perl
|
||||
perl.pkgs.YAML
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DFORK_AWESOME_FONT_FILE=${fork_awesome_release}/fonts/forkawesome-webfont.woff2"
|
||||
"-DFORK_AWESOME_ICON_DEFINITIONS=${fork_awesome_release}/src/icons/icons.yml"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Martchus/qtforkawesome";
|
||||
description = "Library that bundles ForkAwesome for use within Qt applications";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -197,6 +197,8 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
|
|||
|
||||
qtfeedback = callPackage ../development/libraries/qtfeedback { };
|
||||
|
||||
qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
|
||||
|
||||
qtutilities = callPackage ../development/libraries/qtutilities { };
|
||||
|
||||
qtinstaller = callPackage ../development/libraries/qtinstaller { };
|
||||
|
|
Loading…
Reference in a new issue