1 { fetchurl, lib, stdenv, pkg-config, ghostscript, cairo }:
3 stdenv.mkDerivation rec {
8 url = "https://libspectre.freedesktop.org/releases/${pname}-${version}.tar.gz";
9 hash = "sha256-VadRfNNXK9JWXfDPRQlEoE1Sc7J567NpqJU5GVfw+WA=";
12 nativeBuildInputs = [ pkg-config ];
26 homepage = "http://libspectre.freedesktop.org/";
27 description = "PostScript rendering library";
30 libspectre is a small library for rendering Postscript
31 documents. It provides a convenient easy to use API for
32 handling and rendering Postscript documents.
35 license = lib.licenses.gpl2Plus;
36 platforms = lib.platforms.unix;