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