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

40 lines
893 B
Nix
Raw Normal View History

2016-06-22 06:32:06 +01:00
{ stdenv, fetchurl, pkgconfig, expat
, buildsystem
, libparserutils
, libwapcaplet
, libhubbub
}:
stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libdom";
2019-07-25 01:08:39 +01:00
version = "0.4.0";
2016-06-22 06:32:06 +01:00
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
2019-07-25 01:08:39 +01:00
sha256 = "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy";
2016-06-22 06:32:06 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ expat
2016-06-22 06:32:06 +01:00
buildsystem
libparserutils
libwapcaplet
libhubbub
];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = "http://www.netsurf-browser.org/";
2016-06-22 06:32:06 +01:00
description = "Document Object Model library for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}