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

33 lines
852 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libxml2, glib, gnome3 }:
2018-12-25 04:23:40 +01:00
stdenv.mkDerivation rec {
2018-03-03 05:45:41 +01:00
pname = "libcroco";
version = "0.6.13";
src = fetchurl {
2018-12-25 04:23:40 +01: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 07:47:52 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 glib ];
2018-03-03 05:45:41 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
2017-06-20 07:47:52 +02:00
description = "GNOME CSS2 parsing and manipulation toolkit";
2018-05-29 10:23:49 +02:00
homepage = https://gitlab.gnome.org/GNOME/libcroco;
2017-06-20 07:47:52 +02:00
license = licenses.lgpl2;
platforms = platforms.unix;
};
}