about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/paps/default.nix
blob: 521bebf47a3b56fa6dfe8bb79efc0ea4824b4d43 (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
{ stdenv, fetchFromGitHub
, autoconf, automake, pkgconfig, pango }:

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

  src = fetchFromGitHub {
    owner = "dov";
    repo = pname;
    rev = version;
    sha256 = "1f0qcawak76zk2xypipb6sy4bd8mixlrjby851x216a7f6z8fd4y";
  };

  nativeBuildInputs = [ autoconf automake pkgconfig ];
  buildInputs = [ pango ];

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

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