2019-04-22 20:42:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gnome3 }:
|
2018-12-25 03:23:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 04:45:41 +00:00
|
|
|
pname = "libcroco";
|
2019-04-22 20:42:53 +01:00
|
|
|
version = "0.6.13";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 03:23:40 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-04-22 20:42:53 +01:00
|
|
|
sha256 = "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
|
|
|
|
|
2017-06-20 06:47:52 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 glib ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 04:45:41 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-06-20 06:47:52 +01:00
|
|
|
description = "GNOME CSS2 parsing and manipulation toolkit";
|
2018-05-29 09:23:49 +01:00
|
|
|
homepage = https://gitlab.gnome.org/GNOME/libcroco;
|
2017-06-20 06:47:52 +01:00
|
|
|
license = licenses.lgpl2;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|