lol
1{ stdenv, fetchurl, pkgconfig
2, buildsystem
3}:
4
5stdenv.mkDerivation rec {
6
7 name = "netsurf-${libname}-${version}";
8 libname = "libutf8proc";
9 version = "1.3.1";
10
11 src = fetchurl {
12 url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
13 sha256 = "0xf659y3c6ikjnip47r30wv796a34d71p6qhc4xjs64iqszm1sbq";
14 };
15
16 buildInputs = [ buildsystem pkgconfig];
17
18 makeFlags = [
19 "PREFIX=$(out)"
20 "NSSHARED=${buildsystem}/share/netsurf-buildsystem"
21 ];
22
23 meta = with stdenv.lib; {
24 homepage = "http://www.netsurf-browser.org/";
25 description = "UTF8 Processing library for netsurf browser";
26 license = licenses.gpl2;
27 maintainers = [ maintainers.vrthra ];
28 platforms = platforms.linux;
29 };
30}