2021-01-21 17:00:13 +00:00
|
|
|
{ fetchurl, lib, 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";
|
2019-06-02 03:09:57 +01:00
|
|
|
version = "0.4.4";
|
2018-12-24 12:32:39 +00:00
|
|
|
|
|
|
|
outputs = [ "bin" "out" "dev" "man" "doc" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-06-02 03:09:57 +01:00
|
|
|
sha256 = "0fds3fsx84ylsfvf55zp65y8xqjj5n8gbhcsk02vqglivk7izw4v";
|
2018-12-24 12:32:39 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +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";
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Lasem";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2018-12-24 12:32:39 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2018-12-24 12:32:39 +00:00
|
|
|
};
|
|
|
|
}
|