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

40 lines
925 B
Nix
Raw Normal View History

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