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, mkDerivation, lib,
fetchurl, fetchpatch, fetchFromGitHub,
extra-cmake-modules, extra-cmake-modules,
qtbase, boost, qtbase, boost,
akonadi-calendar, akonadi-notes, akonadi-search, kidentitymanagement, kontactinterface, kldap, akonadi-calendar, akonadi-notes, akonadi-search, kidentitymanagement, kontactinterface, kldap,
@ -9,22 +9,16 @@
mkDerivation rec { mkDerivation rec {
pname = "zanshin"; pname = "zanshin";
version = "0.4.1"; version = "2017-11-25";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchFromGitHub {
url = "https://files.kde.org/${pname}/${name}.tar.bz2"; owner = "KDE";
sha256 = "1llqm4w4mhmdirgrmbgwrpqyn47phwggjdghf164k3qw0bi806as"; 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 = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
]; ];