nixpkgs/pkgs/development/libraries/libnatspec/default.nix
2021-01-21 19:11:02 -08:00

24 lines
658 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
stdenv.mkDerivation (rec {
name = "libnatspec-0.3.0";
src = fetchurl {
url = "mirror://sourceforge/natspec/${name}.tar.bz2";
sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ popt ];
meta = with lib; {
homepage = "http://natspec.sourceforge.net/";
description = "A library intended to smooth national specificities in using of programs";
platforms = platforms.unix;
license = licenses.lgpl21;
};
} // lib.optionalAttrs (!stdenv.isLinux) {
propagatedBuildInputs = [ libiconv ];
})