nixpkgs/pkgs/tools/misc/paps/default.nix

30 lines
682 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
, autoconf, automake, pkgconfig, intltool, pango }:
2019-03-30 13:43:03 +01:00
stdenv.mkDerivation rec {
pname = "paps";
version = "0.7.1";
2019-03-30 13:43:03 +01:00
src = fetchFromGitHub {
owner = "dov";
repo = pname;
rev = "v${version}";
sha256 = "129wpm2ayxs6qfh2761d4x9c034ivb2bcmmcnl56qs4448qb9495";
2019-03-30 13:43:03 +01:00
};
nativeBuildInputs = [ autoconf automake pkgconfig intltool ];
2019-03-30 13:43:03 +01:00
buildInputs = [ pango ];
preConfigure = ''
./autogen.sh
'';
meta = with lib; {
2019-03-30 13:43:03 +01:00
description = "Pango to PostScript converter";
homepage = "https://github.com/dov/paps";
2019-03-30 13:43:03 +01:00
license = licenses.lgpl2;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}