2016-04-13 02:15:48 +03:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, popt, libiconv }:
|
2012-02-02 02:32:12 +04:00
|
|
|
|
2013-01-19 02:01:56 +04:00
|
|
|
stdenv.mkDerivation (rec {
|
2016-04-13 02:15:48 +03:00
|
|
|
name = "libnatspec-0.3.0";
|
2012-02-02 02:32:12 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/natspec/${name}.tar.bz2";
|
2016-04-13 02:15:48 +03:00
|
|
|
sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7";
|
2012-02-02 02:32:12 +04:00
|
|
|
};
|
|
|
|
|
2016-04-13 02:15:48 +03:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2013-01-19 02:01:56 +04:00
|
|
|
buildInputs = [ popt ];
|
2012-02-02 02:32:12 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://natspec.sourceforge.net/ ;
|
|
|
|
description = "A library intended to smooth national specificities in using of programs";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
2013-01-19 02:01:56 +04:00
|
|
|
} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
|
2015-06-23 00:11:40 +03:00
|
|
|
NIX_LDFLAGS = "-liconv";
|
|
|
|
propagatedBuildInputs = [ libiconv ];
|
2013-01-19 02:01:56 +04:00
|
|
|
})
|