nixpkgs/pkgs/development/libraries/libcroco/default.nix

33 lines
852 B
Nix
Raw Normal View History

{ 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";
version = "0.6.13";
src = fetchurl {
2018-12-25 03:23:40 +00:00
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";
2017-06-20 06:47:52 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 glib ];
2018-03-03 04:45:41 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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;
platforms = platforms.unix;
};
}