2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, ncurses, readline, autoreconfHook }:
|
2013-09-05 17:03:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 20:29:51 +00:00
|
|
|
pname = "abook";
|
|
|
|
version = "0.6.1";
|
2013-09-05 17:03:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "http://abook.sourceforge.net/devel/abook-${version}.tar.gz";
|
2017-08-01 07:54:48 +00:00
|
|
|
sha256 = "1yf0ifyjhq2r003pnpn92mn0924bn9yxjifxxj2ldcsgd7w0vagh";
|
2013-09-05 17:03:28 +00:00
|
|
|
};
|
|
|
|
|
2016-03-13 05:28:40 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/gcc5.patch?h=packages/abook";
|
|
|
|
name = "gcc5.patch";
|
|
|
|
sha256 = "13n3qd6yy45i5n8ppjn9hj6y63ymjrq96280683xk7f7rjavw5nn";
|
|
|
|
})
|
2016-03-13 05:28:40 +00:00
|
|
|
];
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2016-03-13 05:28:40 +00:00
|
|
|
buildInputs = [ ncurses readline ];
|
2013-09-05 17:03:28 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://abook.sourceforge.net/";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Text-based addressbook program designed to use with mutt mail client";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.edwtjo ];
|
2022-03-18 00:05:41 +00:00
|
|
|
platforms = with lib.platforms; unix;
|
2013-09-05 17:03:28 +00:00
|
|
|
};
|
|
|
|
}
|