pithos: 1.1.2 -> 1.4.1
This commit is contained in:
parent
3155fbff0a
commit
1e8e8d1867
@ -1,33 +1,29 @@
|
|||||||
{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobject-introspection, libnotify
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, appstream-glib
|
||||||
, gst_all_1, wrapGAppsHook }:
|
, wrapGAppsHook, pythonPackages, gtk3, gnome3, gobject-introspection
|
||||||
|
, libnotify, libsecret, gst_all_1 }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "pithos";
|
pname = "pithos";
|
||||||
version = "1.1.2";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0zk9clfawsnwmgjbk7y5d526ksxd1pkh09ln6sb06v4ygaiifcxp";
|
sha256 = "0vaw0rfcdh4bsp9b8la9bs36kw0iwia54y5x060byxhff9av6nj4";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests in repo
|
format = "other";
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --replace "/usr/share" "$out/share"
|
chmod +x meson_post_install.py
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
nativeBuildInputs = [ meson ninja pkgconfig appstream-glib wrapGAppsHook ];
|
||||||
mkdir -p $out/share/applications
|
|
||||||
cp -v data/pithos.desktop $out/share/applications
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ wrapGAppsHook ];
|
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ gtk3 gobject-introspection libnotify ] ++
|
[ gtk3 gobject-introspection libnotify libsecret gnome3.adwaita-icon-theme ] ++
|
||||||
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
|
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
|
||||||
(with pythonPackages; [ pygobject3 pylast ]);
|
(with pythonPackages; [ pygobject3 pylast ]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user