depot/third_party/nixpkgs/pkgs/development/libraries/libnatspec/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

24 lines
684 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
stdenv.mkDerivation rec {
pname = "libnatspec";
version = "0.3.0";
src = fetchurl {
url = "mirror://sourceforge/natspec/${pname}-${version}.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 ];
}