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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 11:03:39 +00: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
};
}