fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / ab / abook / package.nix
blob0fb3850790c7e23fe7d085df26c578950b1caad6
2   lib,
3   stdenv,
4   fetchurl,
5   fetchpatch,
6   pkg-config,
7   ncurses,
8   readline,
9   autoreconfHook,
12 stdenv.mkDerivation rec {
13   pname = "abook";
14   version = "0.6.1";
16   src = fetchurl {
17     url = "http://abook.sourceforge.net/devel/abook-${version}.tar.gz";
18     sha256 = "1yf0ifyjhq2r003pnpn92mn0924bn9yxjifxxj2ldcsgd7w0vagh";
19   };
21   patches = [
22     (fetchpatch {
23       url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/gcc5.patch?h=packages/abook";
24       name = "gcc5.patch";
25       sha256 = "13n3qd6yy45i5n8ppjn9hj6y63ymjrq96280683xk7f7rjavw5nn";
26     })
27   ];
29   nativeBuildInputs = [
30     pkg-config
31     autoreconfHook
32   ];
33   buildInputs = [
34     ncurses
35     readline
36   ];
38   meta = {
39     homepage = "http://abook.sourceforge.net/";
40     description = "Text-based addressbook program designed to use with mutt mail client";
41     license = lib.licenses.gpl2;
42     maintainers = [ lib.maintainers.edwtjo ];
43     platforms = with lib.platforms; unix;
44     mainProgram = "abook";
45   };