netsurf.libparserutils: rewrite
This commit is contained in:
parent
1cfc288a9d
commit
c69f48cbe4
|
@ -1,29 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, perl
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, perl
|
||||
, buildsystem
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "netsurf-${libname}";
|
||||
libname = "libparserutils";
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "netsurf-libparserutils";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
||||
sha256 = "sha256-MiuuYbMMzt4+MFv26uJBSSBkl3W8X/HRtogBKjxJR9g=";
|
||||
url = "http://download.netsurf-browser.org/libs/releases/libparserutils-${finalAttrs.version}-src.tar.gz";
|
||||
hash = "sha256-MiuuYbMMzt4+MFv26uJBSSBkl3W8X/HRtogBKjxJR9g=";
|
||||
};
|
||||
|
||||
buildInputs = [ perl buildsystem ];
|
||||
buildInputs = [
|
||||
perl
|
||||
buildsystem
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
||||
meta = {
|
||||
homepage = "https://www.netsurf-browser.org/projects/libparserutils/";
|
||||
description = "Parser building library for netsurf browser";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
inherit (buildsystem.meta) maintainers platforms;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue