nixpkgs/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
828 B
Nix
Raw Normal View History

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