netsurf.libnslog: rewrite
This commit is contained in:
parent
87f1a6779d
commit
833160293d
@ -1,18 +1,27 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, bison, flex
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, bison
|
||||||
|
, flex
|
||||||
|
, pkg-config
|
||||||
, buildsystem
|
, buildsystem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "netsurf-${libname}";
|
pname = "netsurf-libnslog";
|
||||||
libname = "libnslog";
|
|
||||||
version = "0.1.3";
|
version = "0.1.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/libnslog-${finalAttrs.version}-src.tar.gz";
|
||||||
sha256 = "sha256-/JjcqdfvpnCWRwpdlsAjFG4lv97AjA23RmHHtNsEU9A=";
|
hash = "sha256-/JjcqdfvpnCWRwpdlsAjFG4lv97AjA23RmHHtNsEU9A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config bison flex ];
|
nativeBuildInputs = [
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ buildsystem ];
|
buildInputs = [ buildsystem ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -20,11 +29,10 @@ stdenv.mkDerivation rec {
|
|||||||
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://www.netsurf-browser.org/";
|
homepage = "https://www.netsurf-browser.org/";
|
||||||
description = "NetSurf Parametric Logging Library";
|
description = "NetSurf Parametric Logging Library";
|
||||||
license = licenses.isc;
|
license = lib.licenses.isc;
|
||||||
maintainers = [ maintainers.samueldr maintainers.AndersonTorres ];
|
inherit (buildsystem.meta) maintainers platforms;
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user