nixpkgs/pkgs/applications/misc/abook/default.nix

30 lines
920 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchpatch, pkg-config, ncurses, readline, autoreconfHook }:
stdenv.mkDerivation rec {
2017-08-01 08:54:48 +01:00
name = "abook-0.6.1";
src = fetchurl {
url = "http://abook.sourceforge.net/devel/${name}.tar.gz";
2017-08-01 08:54:48 +01:00
sha256 = "1yf0ifyjhq2r003pnpn92mn0924bn9yxjifxxj2ldcsgd7w0vagh";
};
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 = [ pkg-config autoreconfHook ];
2016-03-13 05:28:40 +00:00
buildInputs = [ ncurses readline ];
meta = {
homepage = "http://abook.sourceforge.net/";
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 ];
platforms = with lib.platforms; linux;
};
}