cinnamon.cinnamon-common.libcroco: init at 0.6.13

This commit is contained in:
Maciej Krüger 2020-09-05 19:07:10 +02:00 committed by worldofpeace
parent 302c8a4612
commit ce2895dabd
2 changed files with 37 additions and 2 deletions

View File

@ -15,7 +15,7 @@
, gtk3
, intltool
, json-glib
, libcroco
, callPackage
, libsoup
, libstartup_notification
, libXtst
@ -38,11 +38,13 @@
, accountsservice
, gnome-online-accounts
, glib-networking
, callPackage
, pciutils
, timezonemap
}:
let
libcroco = callPackage ./libcroco.nix { };
in
stdenv.mkDerivation rec {
pname = "cinnamon-common";
version = "4.4.1";

View File

@ -0,0 +1,33 @@
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gnome3 }:
stdenv.mkDerivation rec {
pname = "libcroco";
version = "0.6.13";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn";
};
outputs = [ "out" "dev" ];
outputBin = "dev";
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 glib ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "GNOME CSS2 parsing and manipulation toolkit";
homepage = https://gitlab.gnome.org/GNOME/libcroco;
license = licenses.lgpl2;
platforms = platforms.unix;
};
}