Netsurf libcss: 0.9.0 -> 0.9.1

This commit is contained in:
AndersonTorres 2020-09-28 03:35:38 -03:00
parent d5832afa3e
commit d6d7ead024
2 changed files with 18 additions and 12 deletions

View File

@ -2,6 +2,7 @@
lib.makeScope pkgs.newScope (self: with self; { lib.makeScope pkgs.newScope (self: with self; {
buildsystem = callPackage ./buildsystem.nix { }; buildsystem = callPackage ./buildsystem.nix { };
libcss = callPackage ./libcss.nix { };
libnsbmp = callPackage ./libnsbmp.nix { }; libnsbmp = callPackage ./libnsbmp.nix { };
libnsgif = callPackage ./libnsgif.nix { }; libnsgif = callPackage ./libnsgif.nix { };
libnslog = callPackage ./libnslog.nix { }; libnslog = callPackage ./libnslog.nix { };

View File

@ -1,26 +1,25 @@
{ stdenv, fetchurl, pkgconfig, perl { stdenv, fetchurl, pkgconfig, perl
, buildsystem , buildsystem
, libwapcaplet
, libparserutils , libparserutils
, libwapcaplet
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "netsurf-${libname}";
name = "netsurf-${libname}-${version}";
libname = "libcss"; libname = "libcss";
version = "0.9.0"; version = "0.9.1";
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/${libname}-${version}-src.tar.gz";
sha256 = "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr"; sha256 = "sha256-0tzhbpM5Lo1qcglCDUfC1Wo4EXAaDoGnJPxUHGPTxtw=";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ perl buildInputs = [
buildsystem perl
libwapcaplet
libparserutils libparserutils
]; libwapcaplet
buildsystem ];
makeFlags = [ makeFlags = [
"PREFIX=$(out)" "PREFIX=$(out)"
@ -30,10 +29,16 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE= "-Wno-error=implicit-fallthrough"; NIX_CFLAGS_COMPILE= "-Wno-error=implicit-fallthrough";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.netsurf-browser.org/"; homepage = "https://www.netsurf-browser.org/projects/${libname}/";
description = "Cascading Style Sheets library for netsurf browser"; description = "Cascading Style Sheets library for netsurf browser";
license = licenses.gpl2; longDescription = ''
maintainers = [ maintainers.vrthra ]; LibCSS is a CSS parser and selection engine. It aims to parse the forward
compatible CSS grammar. It was developed as part of the NetSurf project
and is available for use by other software, under a more permissive
license.
'';
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }