netsurf.libnspsl: rewrite
This commit is contained in:
parent
833160293d
commit
d3a897ce7b
1 changed files with 13 additions and 11 deletions
|
@ -1,18 +1,21 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
, buildsystem
|
, buildsystem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "netsurf-${libname}";
|
pname = "netsurf-libnspsl";
|
||||||
libname = "libnspsl";
|
|
||||||
version = "0.1.6";
|
version = "0.1.6";
|
||||||
|
|
||||||
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/libnspsl-${finalAttrs.version}-src.tar.gz";
|
||||||
sha256 = "sha256-08WCBct40xC/gcpVNHotCYcZzsrHBGvDZ5g7E4tFAgs=";
|
hash = "sha256-08WCBct40xC/gcpVNHotCYcZzsrHBGvDZ5g7E4tFAgs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ buildsystem ];
|
buildInputs = [ buildsystem ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -20,11 +23,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 Public Suffix List - Handling library";
|
description = "NetSurf Public Suffix List - Handling library";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ maintainers.samueldr maintainers.AndersonTorres ];
|
inherit (buildsystem.meta) maintainers platforms;
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue