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

33 lines
835 B
Nix
Raw Normal View History

2016-06-29 22:10:35 +01:00
{ stdenv, fetchurl, pkgconfig, uilib? "framebuffer", SDL
2016-06-22 06:35:16 +01:00
, buildsystem
}:
stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsfb";
2019-07-25 01:09:35 +01:00
version = "0.2.1";
2016-06-22 06:35:16 +01:00
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
2019-07-25 01:09:35 +01:00
sha256 = "09qag9lgn5ahanbcyf2rvfmsz15vazfwnl8xpn8f1iczd44b0bv0";
2016-06-22 06:35:16 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildsystem SDL ];
2016-06-22 06:35:16 +01:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
2016-06-29 22:10:35 +01:00
"TARGET=${uilib}"
2016-06-22 06:35:16 +01:00
];
meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
2016-06-22 06:35:16 +01:00
description = "CSS parser and selection library for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}