git.iko.soy/typeable/nixpkgs
on master help sign in
lollypop-portal: init at 0.9.7
commit0761bdbc291ca1f0c7f4795b7245607e8cf09426 authorworldofpeace <worldofpeace@users.noreply.github.com> dateThu 12 Jul 2018, 20:42 (8 years ago) parent629c901
2 files changed+63
pkgs/misc/lollypop-portal/default.nix+60 pkgs/top-level/all-packages.nix+3
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
@@ -21204,6 +21204,9 @@ with pkgs;
2120421204 lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix {
2120521205 lilypond = lilypond-unstable;
2120621206 };
21207+
21208+ lollypop-portal = callPackages ../misc/lollypop-portal { };
21209+
2120721210 openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix { };
2120821211
2120921212 mailcore2 = callPackage ../development/libraries/mailcore2 {