forked from mirrors/nixpkgs
35 lines
798 B
Nix
35 lines
798 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, pkg-config
|
|
, buildsystem
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "netsurf-${libname}";
|
|
libname = "libutf8proc";
|
|
version = "2.4.0-1";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
|
hash = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ buildsystem ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.netsurf-browser.org/";
|
|
description = "UTF8 Processing library for netsurf browser";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|