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

25 lines
684 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
2021-06-20 14:15:21 +00:00
stdenv.mkDerivation rec {
pname = "libnatspec";
version = "0.3.0";
src = fetchurl {
2021-06-20 14:15:21 +00:00
url = "mirror://sourceforge/natspec/${pname}-${version}.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 = with lib; {
homepage = "http://natspec.sourceforge.net/";
description = "A library intended to smooth national specificities in using of programs";
2018-10-18 19:11:49 +00:00
platforms = platforms.unix;
license = licenses.lgpl21;
};
} // lib.optionalAttrs (!stdenv.isLinux) {
2015-06-22 21:11:40 +00:00
propagatedBuildInputs = [ libiconv ];
2021-06-20 14:15:21 +00:00
}