You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
817 B
31 lines
817 B
8 years ago
|
{ stdenv, fetchurl, pkgconfig
|
||
|
, buildsystem
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
4 years ago
|
pname = "netsurf-${libname}";
|
||
8 years ago
|
libname = "libnsutils";
|
||
4 years ago
|
version = "0.1.0";
|
||
8 years ago
|
|
||
|
src = fetchurl {
|
||
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
||
4 years ago
|
sha256 = "sha256-eQxlFjRKvoL2KJ1lY5LpzOvkdbIMx+Hi2EMBE4X3rvA=";
|
||
8 years ago
|
};
|
||
|
|
||
7 years ago
|
nativeBuildInputs = [ pkgconfig ];
|
||
4 years ago
|
buildInputs = [ buildsystem ];
|
||
8 years ago
|
|
||
|
makeFlags = [
|
||
|
"PREFIX=$(out)"
|
||
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
4 years ago
|
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
||
8 years ago
|
description = "Generalised utility library for netsurf browser";
|
||
4 years ago
|
license = licenses.mit;
|
||
|
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
||
8 years ago
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|