2016-06-22 06:37:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
|
|
|
, buildsystem
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-28 07:26:51 +01:00
|
|
|
pname = "netsurf-${libname}";
|
2016-06-22 06:37:37 +01:00
|
|
|
libname = "libutf8proc";
|
2019-07-25 01:10:56 +01:00
|
|
|
version = "2.4.0-1";
|
2016-06-22 06:37:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2020-09-28 07:26:51 +01:00
|
|
|
sha256 = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI=";
|
2016-06-22 06:37:37 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2020-09-28 07:26:51 +01:00
|
|
|
buildInputs = [ buildsystem ];
|
2016-06-22 06:37:37 +01:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-09-28 07:26:51 +01:00
|
|
|
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
2016-06-22 06:37:37 +01:00
|
|
|
description = "UTF8 Processing library for netsurf browser";
|
2020-09-28 07:26:51 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
2016-06-22 06:37:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|