git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #131786 from dan4ik605743/coretoppings

coretoppings: init at 4.2.0

commit1ae194ac45021bc3d950714ff0cdde12068af38f authorSandro <sandro.jaeckel@gmail.com> dateWed 28 Jul 2021, 11:32 (5 years ago) parent3f0226902734d6
3 files changed+72
pkgs/applications/misc/coretoppings/0001-fix-install-phase.patch+8 pkgs/applications/misc/coretoppings/default.nix+62 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/coretoppings/0001-fix-install-phase.patchnew file+8
@@ -0,0 +1,8 @@
1+--- a/corepkit/CMakeLists.txt
2++++ b/corepkit/Cmakelists.txt
3+@@ -32,4 +32,4 @@
4+ target_link_libraries( corepkit Qt5::Core )
5+
6+ install( TARGETS corepkit DESTINATION libexec/coreapps/ )
7+-install( FILES org.cubocore.coreapps.policy DESTINATION /usr/share/polkit-1/actions/ )
8++install( FILES org.cubocore.coreapps.policy DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/polkit-1/actions/ )
pkgs/applications/misc/coretoppings/default.nixnew file+62
@@ -0,0 +1,62 @@
1+{ mkDerivation, lib, fetchFromGitLab, libcprime, cmake, ninja
2+, ffmpeg, qtbase, qtx11extras, qtconnectivity, v4l-utils, grim, wf-recorder
3+, libdbusmenu, playerctl, xorg, iio-sensor-proxy, inotify-tools
4+, bluez, networkmanager, connman, redshift, gawk
5+, polkit, libnotify, systemd, xdg-utils }:
6+
7+mkDerivation rec {
8+ pname = "coretoppings";
9+ version = "4.2.0";
10+
11+ src = fetchFromGitLab {
12+ owner = "cubocore/coreapps";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "sha256-DpmzGqjW1swLirRLzd5nblAb40LHAmf8nL+VykQNL3E=";
16+ };
17+
18+ nativeBuildInputs = [
19+ cmake
20+ ninja
21+ ];
22+
23+ patches = [
24+ # Fix file cannot create directory: /var/empty/share/polkit-1/actions
25+ ./0001-fix-install-phase.patch
26+ ];
27+
28+ buildInputs = [
29+ qtbase
30+ qtx11extras
31+ qtconnectivity
32+ libdbusmenu
33+ libcprime
34+ ffmpeg
35+ v4l-utils
36+ grim
37+ wf-recorder
38+ playerctl
39+ xorg.xrandr
40+ xorg.xinput
41+ xorg.libXdamage
42+ iio-sensor-proxy
43+ inotify-tools
44+ bluez
45+ networkmanager
46+ connman
47+ redshift
48+ gawk
49+ polkit
50+ libnotify
51+ systemd
52+ xdg-utils
53+ ];
54+
55+ meta = with lib; {
56+ description = "Additional features,plugins etc for CuboCore Application Suite";
57+ homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
58+ license = licenses.gpl3Plus;
59+ maintainers = with maintainers; [ dan4ik605743 ];
60+ platforms = platforms.linux;
61+ };
62+}
pkgs/top-level/all-packages.nix+2
@@ -3914,6 +3914,8 @@ in
39143914
39153915 corehunt = libsForQt5.callPackage ../applications/misc/corehunt { };
39163916
3917+ coretoppings = libsForQt5.callPackage ../applications/misc/coretoppings { };
3918+
39173919 certstrap = callPackage ../tools/security/certstrap { };
39183920
39193921 cfssl = callPackage ../tools/security/cfssl { };