2016-06-22 07:26:14 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, buildsystem
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "netsurf-${libname}-${version}";
|
|
|
|
libname = "libwapcaplet";
|
2019-07-25 02:11:15 +02:00
|
|
|
version = "0.4.2";
|
2016-06-22 07:26:14 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2019-07-25 02:11:15 +02:00
|
|
|
sha256 = "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86";
|
2016-06-22 07:26:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ buildsystem ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
2019-01-11 07:05:22 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
|
|
|
|
2016-06-22 07:26:14 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.netsurf-browser.org/;
|
2016-06-22 07:26:14 +02:00
|
|
|
description = "String internment library for netsurf browser";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|