2013-01-18 22:01:56 +00:00
|
|
|
{ stdenv, fetchurl, popt, libiconv }:
|
2012-02-01 22:32:12 +00:00
|
|
|
|
2013-01-18 22:01:56 +00:00
|
|
|
stdenv.mkDerivation (rec {
|
2012-02-01 22:32:12 +00:00
|
|
|
name = "libnatspec-0.2.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/natspec/${name}.tar.bz2";
|
|
|
|
sha256 = "0zvm9afh1skxgdv62ylrpwyykpjhhskxj0zv7yrdf7jhfdriz0y3";
|
|
|
|
};
|
|
|
|
|
2013-01-18 22:01:56 +00:00
|
|
|
buildInputs = [ popt ];
|
2012-02-01 22:32:12 +00: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-18 22:01:56 +00:00
|
|
|
} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
|
2015-06-22 22:11:40 +01:00
|
|
|
NIX_LDFLAGS = "-liconv";
|
|
|
|
propagatedBuildInputs = [ libiconv ];
|
2013-01-18 22:01:56 +00:00
|
|
|
})
|