diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-07-16 17:14:44 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-07-16 17:14:44 +0200 |
commit | 6d339e58638d87cfc2a5375d42ac3bb9b0342800 (patch) | |
tree | 04f39662bd8f2a40f6d8047bc8408f608bbfa797 /pkgs/misc | |
parent | 2efc2ada846eb9db87a6fe6856b39899bd8f5f50 (diff) | |
parent | f001c81c1accfd3c3e9ca96f51a20be92875bc0d (diff) | |
download | nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar.gz nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar.bz2 nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar.lz nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar.xz nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.tar.zst nixlib-6d339e58638d87cfc2a5375d42ac3bb9b0342800.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/lollypop-portal/default.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/misc/lollypop-portal/default.nix b/pkgs/misc/lollypop-portal/default.nix new file mode 100644 index 000000000000..f9cd9ae7df57 --- /dev/null +++ b/pkgs/misc/lollypop-portal/default.nix @@ -0,0 +1,60 @@ +{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig +, python36Packages, gnome3, gst_all_1, gtk3, libnotify +, kid3, easytag, gobjectIntrospection, wrapGAppsHook }: + +stdenv.mkDerivation rec { + name = "lollypop-portal"; + version = "0.9.7"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "gnumdk"; + repo = name; + rev = version; + sha256 = "0rn5xmh6391i9l69y613pjad3pzdilskr2xjfcir4vpk8wprvph3"; + }; + + nativeBuildInputs = [ + gobjectIntrospection + meson + ninja + pkgconfig + python36Packages.wrapPython + wrapGAppsHook + ]; + + buildInputs = [ + gnome3.totem-pl-parser + gnome3.libsecret + gnome3.gnome-settings-daemon + + gst_all_1.gstreamer + gst_all_1.gst-plugins-base + + gtk3 + libnotify + ]; + + pythonPath = with python36Packages; [ + pygobject3 + pydbus + pycairo + ]; + + preFixup = '' + buildPythonPath "$out/libexec/lollypop-portal $pythonPath" + + gappsWrapperArgs+=( + --prefix PYTHONPATH : "$program_PYTHONPATH" + --prefix PATH : "${stdenv.lib.makeBinPath [ easytag kid3 ]}" + ) + ''; + + meta = with stdenv.lib; { + description = "DBus Service for Lollypop"; + homepage = https://gitlab.gnome.org/gnumdk/lollypop-portal; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ worldofpeace ]; + platforms = platforms.linux; + }; +} |