nixpkgs/pkgs/desktops/gnome-3/core/libcroco/default.nix

26 lines
680 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libxml2, glib }:
stdenv.mkDerivation rec {
2017-06-20 07:47:52 +02:00
name = "libcroco-0.6.12";
src = fetchurl {
url = "mirror://gnome/sources/libcroco/0.6/${name}.tar.xz";
2017-06-20 07:47:52 +02:00
sha256 = "0q7qhi7z64i26zabg9dbs5706fa8pmzp1qhpa052id4zdiabbi6x";
};
outputs = [ "out" "dev" ];
outputBin = "dev";
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
2017-06-20 07:47:52 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 glib ];
meta = with stdenv.lib; {
2017-06-20 07:47:52 +02:00
description = "GNOME CSS2 parsing and manipulation toolkit";
homepage = https://git.gnome.org/browse/libcroco;
2017-06-20 07:47:52 +02:00
license = licenses.lgpl2;
platforms = platforms.unix;
};
}