summary refs log tree commit diff
path: root/pkgs/development/libraries/libnatspec/default.nix
blob: 985745c389865646d02e6943e6d6d390bdb2cea0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, popt, libiconv }:

stdenv.mkDerivation (rec {
  name = "libnatspec-0.2.6";

  src = fetchurl {
    url = "mirror://sourceforge/natspec/${name}.tar.bz2";
    sha256 = "0zvm9afh1skxgdv62ylrpwyykpjhhskxj0zv7yrdf7jhfdriz0y3";
  };

  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) {
  NIX_CFLAGS_COMPILE = "-I${libiconv}/include";

  NIX_CFLAGS_LINK = "-L${libiconv}/lib -liconv";
})