diff options
author | Averell Dalton <averell+nixpkgs@rxd4.com> | 2019-08-30 03:44:33 +0200 |
---|---|---|
committer | Averell Dalton <averell+nixpkgs@rxd4.com> | 2019-08-30 03:44:48 +0200 |
commit | 1e8e8d1867afed7ffd175721c4021a5111226103 (patch) | |
tree | 44513029a2dd83bf343e8b4650690620f1e62e92 | |
parent | 3155fbff0adcd8abf762a5689de4af1c7b93b974 (diff) | |
download | nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar.gz nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar.bz2 nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar.lz nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar.xz nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.tar.zst nixpkgs-1e8e8d1867afed7ffd175721c4021a5111226103.zip |
pithos: 1.1.2 -> 1.4.1
-rw-r--r-- | pkgs/applications/audio/pithos/default.nix | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/pkgs/applications/audio/pithos/default.nix b/pkgs/applications/audio/pithos/default.nix index f2c798d1e6e..5d86e37dec8 100644 --- a/pkgs/applications/audio/pithos/default.nix +++ b/pkgs/applications/audio/pithos/default.nix @@ -1,33 +1,29 @@ -{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobject-introspection, libnotify -, gst_all_1, wrapGAppsHook }: +{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, appstream-glib +, wrapGAppsHook, pythonPackages, gtk3, gnome3, gobject-introspection +, libnotify, libsecret, gst_all_1 }: pythonPackages.buildPythonApplication rec { pname = "pithos"; - version = "1.1.2"; + version = "1.4.1"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "0zk9clfawsnwmgjbk7y5d526ksxd1pkh09ln6sb06v4ygaiifcxp"; + sha256 = "0vaw0rfcdh4bsp9b8la9bs36kw0iwia54y5x060byxhff9av6nj4"; }; - # No tests in repo - doCheck = false; + format = "other"; postPatch = '' - substituteInPlace setup.py --replace "/usr/share" "$out/share" + chmod +x meson_post_install.py + patchShebangs meson_post_install.py ''; - postInstall = '' - mkdir -p $out/share/applications - cp -v data/pithos.desktop $out/share/applications - ''; - - buildInputs = [ wrapGAppsHook ]; + nativeBuildInputs = [ meson ninja pkgconfig appstream-glib wrapGAppsHook ]; 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 pythonPackages; [ pygobject3 pylast ]); |