2016-03-13 05:28:40 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, ncurses, readline }:
|
2013-09-05 18:03:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-13 05:28:40 +00:00
|
|
|
name = "abook-0.6.0pre2";
|
2013-09-05 18:03:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://abook.sourceforge.net/devel/${name}.tar.gz";
|
2016-03-13 05:28:40 +00:00
|
|
|
sha256 = "11fkyq9bqw7s6jf38yglk8bsx0ar2wik0fq0ds0rdp8985849m2r";
|
2013-09-05 18:03:28 +01:00
|
|
|
};
|
|
|
|
|
2016-03-13 05:28:40 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/gcc5.patch?h=packages/abook";
|
|
|
|
name = "gcc5.patch";
|
|
|
|
sha256 = "13n3qd6yy45i5n8ppjn9hj6y63ymjrq96280683xk7f7rjavw5nn";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ ncurses readline ];
|
2013-09-05 18:03:28 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://abook.sourceforge.net/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Text-based addressbook program designed to use with mutt mail client";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-09-05 18:03:28 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|