summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-06-02 22:55:29 +0800
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-03 15:31:30 +0000
commitc122701513eb0d217cad4c2a5c81da7a7627079e (patch)
treef7503baead939f0194cf38d65caf6de02ae7c3ef
parentnix: 2.3.11 -> 2.3.12 (diff)
downloadnixpkgs-origin/backport-125386-to-release-21.05.tar.gz
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> (cherry picked from commit 01ef9faecb7e1be1f40f7aac4ebcefa4885d4652)
-rw-r--r--pkgs/applications/audio/vocal/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/applications/audio/vocal/default.nix b/pkgs/applications/audio/vocal/default.nix
index b91a8e6d50c5..f06f950f13fc 100644
--- a/pkgs/applications/audio/vocal/default.nix
+++ b/pkgs/applications/audio/vocal/default.nix
@@ -1,5 +1,7 @@
-{ lib, stdenv
+{ lib
+, stdenv
, fetchFromGitHub
+, fetchpatch
, nix-update-script
, cmake
, ninja
@@ -61,13 +63,22 @@ stdenv.mkDerivation rec {
glib-networking
];
+ patches = [
+ # granite 6.0.0 removed about dialogs
+ # see: https://github.com/needle-and-thread/vocal/issues/483
+ (fetchpatch {
+ name = "remove-about.patch";
+ url = "https://raw.githubusercontent.com/archlinux/svntogit-community/03543ffdb6cd52ce1a8293f3303225b3afac2431/trunk/remove-about.patch";
+ sha256 = "sha256-yGD7BYOTmqs4h+Odh/mB3fI1HM7GDO6F+QaHpRUD5p4=";
+ })
+ ];
+
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
-
meta = with lib; {
description = "The podcast client for the modern free desktop";
longDescription = ''