nixpkgs/pkgs/development/libraries/libnatspec/default.nix

25 lines
708 B
Nix
Raw Normal View History

2016-04-12 23:15:48 +00:00
{ stdenv, fetchurl, autoreconfHook, popt, libiconv }:
stdenv.mkDerivation (rec {
2016-04-12 23:15:48 +00:00
name = "libnatspec-0.3.0";
src = fetchurl {
url = "mirror://sourceforge/natspec/${name}.tar.bz2";
2016-04-12 23:15:48 +00:00
sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7";
};
2016-04-12 23:15:48 +00:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ popt ];
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 ];
};
} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
2015-06-22 21:11:40 +00:00
NIX_LDFLAGS = "-liconv";
propagatedBuildInputs = [ libiconv ];
})