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