3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
2020-09-28 22:39:17 -03:00

32 lines
826 B
Nix

{ stdenv, fetchurl
, buildsystem
}:
stdenv.mkDerivation rec {
pname = "netsurf-${libname}";
libname = "libwapcaplet";
version = "0.4.3";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "sha256-myqh3W1mRfjpkrNpf9vYfwwOHaVyH6VO0ptITRMWDFw=";
};
buildInputs = [ buildsystem ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
meta = with stdenv.lib; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
description = "String internment library for netsurf browser";
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}