2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
|
2012-02-01 22:32:12 +00:00
|
|
|
|
2021-06-20 14:15:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libnatspec";
|
|
|
|
version = "0.3.0";
|
2012-02-01 22:32:12 +00:00
|
|
|
|
|
|
|
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";
|
2012-02-01 22:32:12 +00:00
|
|
|
};
|
|
|
|
|
2016-04-12 23:15:48 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2013-01-18 22:01:56 +00:00
|
|
|
buildInputs = [ popt ];
|
2012-02-01 22:32:12 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://natspec.sourceforge.net/";
|
2012-02-01 22:32:12 +00:00
|
|
|
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;
|
2012-02-01 22:32:12 +00:00
|
|
|
};
|
2021-01-21 17:00:13 +00:00
|
|
|
} // lib.optionalAttrs (!stdenv.isLinux) {
|
2015-06-22 21:11:40 +00:00
|
|
|
propagatedBuildInputs = [ libiconv ];
|
2021-06-20 14:15:21 +00:00
|
|
|
}
|