zanshin: fix build

This commit is contained in:
gnidorah 2017-12-23 10:04:14 +03:00
parent c3efc32210
commit a54a5d4bb0

View File

@ -1,6 +1,6 @@
{
mkDerivation, lib,
fetchurl, fetchpatch,
fetchFromGitHub,
extra-cmake-modules,
qtbase, boost,
akonadi-calendar, akonadi-notes, akonadi-search, kidentitymanagement, kontactinterface, kldap,
@ -9,22 +9,16 @@
mkDerivation rec {
pname = "zanshin";
version = "0.4.1";
version = "2017-11-25";
name = "${pname}-${version}";
src = fetchurl {
url = "https://files.kde.org/${pname}/${name}.tar.bz2";
sha256 = "1llqm4w4mhmdirgrmbgwrpqyn47phwggjdghf164k3qw0bi806as";
src = fetchFromGitHub {
owner = "KDE";
repo = "zanshin";
rev = "3df91dd81682d2ccfe542c4582dc1d5f98537c89";
sha256 = "18wx7bdqzp81xmwi266gphh2lfbcp5s0fzyp654gki40yhkqph6m";
};
patches = [
(fetchpatch {
name = "zanshin-fix-qt59-build.patch";
url = "https://phabricator.kde.org/R4:77ad64872f69ad9f7abe3aa8e103a12b95e100a4?diff=1";
sha256 = "0p497gqd3jmhbmqzh46zp6zwf6j1q77a9jp0in49xhgc2kj5ar7x";
})
];
nativeBuildInputs = [
extra-cmake-modules
];