3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/netsurf/libcss/default.nix

40 lines
925 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"
];
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;
};
}