git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43447 from worldofpeace/lollypop-portal

lollypop-portal: init at 0.9.7

commite3291c31ed5c1fb700e3dcc92ccddb8a6e211a77 authorFranz Pletz <fpletz@fnordicwalking.de> dateMon 16 Jul 2018, 04:02 (8 years ago) parent152f608d2c2f34
3 files changed+64−1
pkgs/applications/audio/lollypop/default.nix+1−1 pkgs/misc/lollypop-portal/default.nix+60 pkgs/top-level/all-packages.nix+3
pkgs/applications/audio/lollypop/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 ];
2626
2727 buildInputs = [ glib ] ++ (with gnome3; [
28− easytag gsettings_desktop_schemas gtk3 libsecret libsoup totem-pl-parser
28+ gsettings_desktop_schemas gtk3 libsecret libsoup totem-pl-parser
2929 ]) ++ (with gst_all_1; [
3030 gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
3131 gstreamer
pkgs/misc/lollypop-portal/default.nixnew file+60
@@ -0,0 +1,60 @@
1+{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig
2+, python36Packages, gnome3, gst_all_1, gtk3, libnotify
3+, kid3, easytag, gobjectIntrospection, wrapGAppsHook }:
4+
5+stdenv.mkDerivation rec {
6+ name = "lollypop-portal";
7+ version = "0.9.7";
8+
9+ src = fetchFromGitLab {
10+ domain = "gitlab.gnome.org";
11+ owner = "gnumdk";
12+ repo = name;
13+ rev = version;
14+ sha256 = "0rn5xmh6391i9l69y613pjad3pzdilskr2xjfcir4vpk8wprvph3";
15+ };
16+
17+ nativeBuildInputs = [
18+ gobjectIntrospection
19+ meson
20+ ninja
21+ pkgconfig
22+ python36Packages.wrapPython
23+ wrapGAppsHook
24+ ];
25+
26+ buildInputs = [
27+ gnome3.totem-pl-parser
28+ gnome3.libsecret
29+ gnome3.gnome-settings-daemon
30+
31+ gst_all_1.gstreamer
32+ gst_all_1.gst-plugins-base
33+
34+ gtk3
35+ libnotify
36+ ];
37+
38+ pythonPath = with python36Packages; [
39+ pygobject3
40+ pydbus
41+ pycairo
42+ ];
43+
44+ preFixup = ''
45+ buildPythonPath "$out/libexec/lollypop-portal $pythonPath"
46+
47+ gappsWrapperArgs+=(
48+ --prefix PYTHONPATH : "$program_PYTHONPATH"
49+ --prefix PATH : "${stdenv.lib.makeBinPath [ easytag kid3 ]}"
50+ )
51+ '';
52+
53+ meta = with stdenv.lib; {
54+ description = "DBus Service for Lollypop";
55+ homepage = https://gitlab.gnome.org/gnumdk/lollypop-portal;
56+ license = licenses.gpl3Plus;
57+ maintainers = with maintainers; [ worldofpeace ];
58+ platforms = platforms.linux;
59+ };
60+}
pkgs/top-level/all-packages.nix+3
@@ -21223,6 +21223,9 @@ with pkgs;
2122321223 lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix {
2122421224 lilypond = lilypond-unstable;
2122521225 };
21226+
21227+ lollypop-portal = callPackages ../misc/lollypop-portal { };
21228+
2122621229 openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix { };
2122721230
2122821231 mailcore2 = callPackage ../development/libraries/mailcore2 {