3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/lasem/default.nix

40 lines
979 B
Nix
Raw Normal View History

{ fetchurl, lib, stdenv, pkg-config, intltool, gobject-introspection, glib, gdk-pixbuf
, libxml2, cairo, pango, gnome }:
2018-12-24 12:32:39 +00:00
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}/${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 = gnome.updateScript {
2018-12-24 12:32:39 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2018-12-24 12:32:39 +00:00
};
};
meta = {
description = "SVG and MathML rendering library";
homepage = "https://wiki.gnome.org/Projects/Lasem";
license = lib.licenses.gpl2Plus;
2018-12-24 12:32:39 +00:00
platforms = lib.platforms.unix;
2018-12-24 12:32:39 +00:00
};
}