mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
23 lines
649 B
Nix
23 lines
649 B
Nix
{ 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_LDFLAGS = "-liconv";
|
|
propagatedBuildInputs = [ libiconv ];
|
|
})
|