vocal: fix build

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
fortuneteller2k 2021-06-02 22:55:29 +08:00
parent aa9abd3384
commit 01ef9faecb

View File

@ -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 = ''