2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libnatspec";
|
|
|
|
version = "0.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/natspec/${pname}-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0wffxjlc8svilwmrcg3crddpfrpv35mzzjgchf8ygqsvwbrbb3b7";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ popt ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://natspec.sourceforge.net/";
|
|
|
|
description = "A library intended to smooth national specificities in using of programs";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
} // lib.optionalAttrs (!stdenv.isLinux) {
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ libiconv ];
|
2021-07-21 07:28:18 +00:00
|
|
|
}
|