at 18.03-beta 24 lines 679 B view raw
1{ stdenv, fetchurl, autoreconfHook, popt, libiconv }: 2 3stdenv.mkDerivation (rec { 4 name = "libnatspec-0.3.0"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/natspec/${name}.tar.bz2"; 8 sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7"; 9 }; 10 11 nativeBuildInputs = [ autoreconfHook ]; 12 13 buildInputs = [ popt ]; 14 15 meta = { 16 homepage = http://natspec.sourceforge.net/ ; 17 description = "A library intended to smooth national specificities in using of programs"; 18 platforms = stdenv.lib.platforms.unix; 19 maintainers = [ ]; 20 }; 21} // stdenv.lib.optionalAttrs (!stdenv.isLinux) { 22 NIX_LDFLAGS = "-liconv"; 23 propagatedBuildInputs = [ libiconv ]; 24})