mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
54c2f9ac47
Patches are now upstream https://gitlab.gnome.org/GNOME/libcroco/blob/0.6.13/NEWS
33 lines
852 B
Nix
33 lines
852 B
Nix
{ 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;
|
|
};
|
|
}
|