summary refs log tree commit diff
path: root/pkgs/tools/misc/paps/default.nix
blob: ca6607b2f1883c30bdb159edaa0dfeb3e71468e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv, fetchFromGitHub
, autoconf, automake, pkg-config, intltool, pango }:

stdenv.mkDerivation rec {
  pname = "paps";
  version = "0.7.1";

  src = fetchFromGitHub {
    owner = "dov";
    repo = pname;
    rev = "v${version}";
    sha256 = "129wpm2ayxs6qfh2761d4x9c034ivb2bcmmcnl56qs4448qb9495";
  };

  nativeBuildInputs = [ autoconf automake pkg-config intltool ];
  buildInputs = [ pango ];

  preConfigure = ''
    ./autogen.sh
  '';

  meta = with lib; {
    description = "Pango to PostScript converter";
    homepage = "https://github.com/dov/paps";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ etu ];
    platforms = platforms.linux;
  };
}