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

39 lines
959 B
Nix
Raw Normal View History

{ fetchurl, stdenv, pkg-config, intltool, gobject-introspection, glib, gdk-pixbuf
2018-12-24 12:32:39 +00:00
, libxml2, cairo, pango, gnome3 }:
stdenv.mkDerivation rec {
pname = "lasem";
version = "0.4.4";
2018-12-24 12:32:39 +00:00
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";
2018-12-24 12:32:39 +00:00
};
nativeBuildInputs = [ pkg-config intltool gobject-introspection ];
2018-12-24 12:32:39 +00:00
propagatedBuildInputs = [
2019-05-22 12:03:39 +01:00
glib gdk-pixbuf libxml2 cairo pango
2018-12-24 12:32:39 +00:00
];
enableParallelBuilding = true;
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = {
description = "SVG and MathML rendering library";
homepage = "https://wiki.gnome.org/Projects/Lasem";
2018-12-24 12:32:39 +00:00
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}