3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix

32 lines
824 B
Nix
Raw Normal View History

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