netsurf.libwapcaplet: rewrite
This commit is contained in:
parent
f9ba74eb84
commit
ab1e456470
@ -1,15 +1,16 @@
|
|||||||
{ lib, stdenv, fetchurl
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
, buildsystem
|
, buildsystem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "netsurf-${libname}";
|
pname = "netsurf-libwapcaplet";
|
||||||
libname = "libwapcaplet";
|
|
||||||
version = "0.4.3";
|
version = "0.4.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
url = "http://download.netsurf-browser.org/libs/releases/libwapcaplet-${finalAttrs.version}-src.tar.gz";
|
||||||
sha256 = "sha256-myqh3W1mRfjpkrNpf9vYfwwOHaVyH6VO0ptITRMWDFw=";
|
hash = "sha256-myqh3W1mRfjpkrNpf9vYfwwOHaVyH6VO0ptITRMWDFw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ buildsystem ];
|
buildInputs = [ buildsystem ];
|
||||||
@ -21,11 +22,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
homepage = "https://www.netsurf-browser.org/projects/libwapcaplet/";
|
||||||
description = "String internment library for netsurf browser";
|
description = "String internment library for netsurf browser";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
inherit (buildsystem.meta) maintainers platforms;
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user