2018-06-16 01:17:01 +01:00
|
|
|
{ stdenv, fetchgit, meson, ninja, pkgconfig, wrapGAppsHook
|
|
|
|
, appstream-glib, desktop-file-utils, gobjectIntrospection
|
|
|
|
, python36Packages, gnome3, glib, gst_all_1 }:
|
|
|
|
|
2018-07-22 03:03:24 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-07-18 12:55:57 +01:00
|
|
|
version = "0.9.521";
|
2018-06-16 01:17:01 +01:00
|
|
|
name = "lollypop-${version}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://gitlab.gnome.org/World/lollypop";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
fetchSubmodules = true;
|
2018-07-18 12:55:57 +01:00
|
|
|
sha256 = "1iwv0fj50h0xynv152anisbq29jfbmb9hpm60kaa9a9hdiypskcc";
|
2018-06-16 01:17:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = with python36Packages; [
|
2018-06-25 03:32:43 +01:00
|
|
|
appstream-glib
|
2018-06-16 01:17:01 +01:00
|
|
|
desktop-file-utils
|
2018-06-25 03:32:43 +01:00
|
|
|
gobjectIntrospection
|
2018-06-16 01:17:01 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
wrapPython
|
|
|
|
];
|
|
|
|
|
2018-06-25 03:32:43 +01:00
|
|
|
buildInputs = [ glib ] ++ (with gnome3; [
|
2018-07-22 03:03:24 +01:00
|
|
|
gsettings-desktop-schemas gtk3 libsecret libsoup totem-pl-parser
|
2018-06-16 01:17:01 +01:00
|
|
|
]) ++ (with gst_all_1; [
|
|
|
|
gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
|
|
|
|
gstreamer
|
|
|
|
]);
|
|
|
|
|
|
|
|
pythonPath = with python36Packages; [
|
|
|
|
beautifulsoup4
|
|
|
|
gst-python
|
|
|
|
pillow
|
|
|
|
pycairo
|
|
|
|
pydbus
|
|
|
|
pygobject3
|
|
|
|
pylast
|
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = "wrapPythonPrograms";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x ./meson_post_install.py
|
|
|
|
patchShebangs ./meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modern music player for GNOME";
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Lollypop;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|