centerim: fix from debian

This commit is contained in:
Vladimír Čunát 2013-02-28 15:11:03 +01:00
parent 16ba3d388a
commit 4cf8fa5f8a

View File

@ -2,12 +2,18 @@
, withGpg ? true, gpgme ? null}:
stdenv.mkDerivation rec {
name = "centerim-4.22.10";
version = "4.22.10";
debPatch = "2";
name = "centerim-${version}";
src = fetchurl {
url = "http://centerim.org/download/releases/${name}.tar.gz";
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
};
patches = fetchurl {
url = "mirror://debian/pool/main/c/centerim/centerim_${version}-${debPatch}.diff.gz";
sha256 = "18iz3hkvr31jsyznryvyldxm9ckyrpy9sczxikrnw2i2r1xyfj8m";
};
buildInputs = [ openssl curl ncurses libjpeg ]
++ stdenv.lib.optional withGpg gpgme;