depot/third_party/nixpkgs/pkgs/development/libraries/lasem/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
957 B
Nix

{ fetchurl, stdenv, pkgconfig, intltool, gobject-introspection, glib, gdk-pixbuf
, libxml2, cairo, pango, gnome3 }:
stdenv.mkDerivation rec {
pname = "lasem";
version = "0.4.4";
outputs = [ "bin" "out" "dev" "man" "doc" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0fds3fsx84ylsfvf55zp65y8xqjj5n8gbhcsk02vqglivk7izw4v";
};
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
propagatedBuildInputs = [
glib gdk-pixbuf libxml2 cairo pango
];
enableParallelBuilding = true;
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = {
description = "SVG and MathML rendering library";
homepage = "https://wiki.gnome.org/Projects/Lasem";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}