nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 30 lines 940 B view raw
1{ lib, stdenv, fetchurl, fetchpatch, pkg-config, ncurses, readline, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "abook"; 5 version = "0.6.1"; 6 7 src = fetchurl { 8 url = "http://abook.sourceforge.net/devel/abook-${version}.tar.gz"; 9 sha256 = "1yf0ifyjhq2r003pnpn92mn0924bn9yxjifxxj2ldcsgd7w0vagh"; 10 }; 11 12 patches = [ 13 (fetchpatch { 14 url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/gcc5.patch?h=packages/abook"; 15 name = "gcc5.patch"; 16 sha256 = "13n3qd6yy45i5n8ppjn9hj6y63ymjrq96280683xk7f7rjavw5nn"; 17 }) 18 ]; 19 20 nativeBuildInputs = [ pkg-config autoreconfHook ]; 21 buildInputs = [ ncurses readline ]; 22 23 meta = { 24 homepage = "http://abook.sourceforge.net/"; 25 description = "Text-based addressbook program designed to use with mutt mail client"; 26 license = lib.licenses.gpl2; 27 maintainers = [ lib.maintainers.edwtjo ]; 28 platforms = with lib.platforms; unix; 29 }; 30}