1{ lib, stdenv, fetchFromGitHub
2, autoconf, automake, pkg-config, intltool, pango }:
3
4stdenv.mkDerivation rec {
5 pname = "paps";
6 version = "0.7.1";
7
8 src = fetchFromGitHub {
9 owner = "dov";
10 repo = pname;
11 rev = "v${version}";
12 sha256 = "129wpm2ayxs6qfh2761d4x9c034ivb2bcmmcnl56qs4448qb9495";
13 };
14
15 nativeBuildInputs = [ autoconf automake pkg-config intltool ];
16 buildInputs = [ pango ];
17
18 preConfigure = ''
19 ./autogen.sh
20 '';
21
22 meta = with lib; {
23 description = "Pango to PostScript converter";
24 homepage = "https://github.com/dov/paps";
25 license = licenses.lgpl2;
26 maintainers = with maintainers; [ ];
27 platforms = platforms.linux;
28 };
29}