nixpkgs/pkgs/applications/misc/netsurf/libcss/default.nix

40 lines
924 B
Nix
Raw Normal View History

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