nixpkgs/pkgs/applications/misc/netsurf/libwapcaplet/default.nix

33 lines
789 B
Nix
Raw Normal View History

2016-06-22 07:26:14 +02:00
{ stdenv, fetchurl
, buildsystem
}:
stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libwapcaplet";
2019-07-25 02:11:15 +02:00
version = "0.4.2";
2016-06-22 07:26:14 +02:00
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
2019-07-25 02:11:15 +02:00
sha256 = "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86";
2016-06-22 07:26:14 +02:00
};
buildInputs = [ buildsystem ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
2016-06-22 07:26:14 +02:00
meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
2016-06-22 07:26:14 +02:00
description = "String internment library for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}