2016-06-22 07:29:59 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, perl
|
|
|
|
, buildsystem
|
|
|
|
, libwapcaplet
|
|
|
|
, libparserutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "netsurf-${libname}-${version}";
|
|
|
|
libname = "libcss";
|
2019-07-25 02:08:18 +02:00
|
|
|
version = "0.9.0";
|
2016-06-22 07:29:59 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2019-07-25 02:08:18 +02:00
|
|
|
sha256 = "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr";
|
2016-06-22 07:29:59 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ perl
|
2016-06-22 07:29:59 +02:00
|
|
|
buildsystem
|
|
|
|
libwapcaplet
|
|
|
|
libparserutils
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
2018-03-14 12:06:46 +01:00
|
|
|
NIX_CFLAGS_COMPILE=[ "-Wno-error=implicit-fallthrough" ];
|
|
|
|
|
2016-06-22 07:29:59 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.netsurf-browser.org/;
|
2016-06-22 07:29:59 +02:00
|
|
|
description = "Cascading Style Sheets library for netsurf browser";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|