fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix, libpgf, freeimage, doxygen }:
2
3with stdenv.lib;
4
5let
6 version = "6.14.12";
7in
8stdenv.mkDerivation {
9 name = "pgf-${version}";
10
11 src = fetchurl {
12 url = "mirror://sourceforge/libpgf/pgf-console-src-${version}.tar.gz";
13 sha256 = "1vfm12cfq3an3xg0679bcwdmjq2x1bbij1iwsmm60hwmrm3zvab0";
14 };
15
16 buildInputs = [ autoconf automake libtool dos2unix libpgf freeimage doxygen ];
17
18 patchPhase = ''
19 sed 1i'#include <inttypes.h>' -i src/PGF.cpp
20 sed s/__int64/int64_t/g -i src/PGF.cpp
21 '';
22
23 preConfigure = "dos2unix configure.ac; sh autogen.sh";
24
25# configureFlags = optional static "--enable-static --disable-shared";
26
27 meta = {
28 homepage = http://www.libpgf.org/;
29 description = "Progressive Graphics Format command line program";
30 license = stdenv.lib.licenses.lgpl21Plus;
31 platforms = stdenv.lib.platforms.linux;
32 };
33}