2010-05-27 21:44:17 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, ghostscript, atk, gtk, glib, fontconfig, freetype
|
|
|
|
, libgnomecanvas, libgnomeprint, libgnomeprintui
|
2011-09-19 12:03:25 +02:00
|
|
|
, pango, libX11, xproto, zlib, poppler, poppler_data
|
2010-05-27 21:44:17 +02:00
|
|
|
, autoconf, automake, libtool, pkgconfig}:
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-25 23:58:53 +02:00
|
|
|
version = "0.4.8";
|
2010-05-27 21:44:17 +02:00
|
|
|
name = "xournal-" + version;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xournal/${name}.tar.gz";
|
2014-09-25 23:58:53 +02:00
|
|
|
sha256 = "0c7gjcqhygiyp0ypaipdaxgkbivg6q45vhsj8v5jsi9nh6iqff13";
|
2010-05-27 21:44:17 +02:00
|
|
|
};
|
2009-08-02 23:47:10 +02:00
|
|
|
|
2010-05-27 21:44:17 +02:00
|
|
|
buildInputs = [
|
2009-08-02 23:47:10 +02:00
|
|
|
ghostscript atk gtk glib fontconfig freetype
|
|
|
|
libgnomecanvas libgnomeprint libgnomeprintui
|
2011-09-19 12:03:25 +02:00
|
|
|
pango libX11 xproto zlib poppler poppler_data
|
2009-08-02 23:47:10 +02:00
|
|
|
];
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
2011-12-15 09:01:03 +01:00
|
|
|
|
2010-05-27 21:44:17 +02:00
|
|
|
NIX_LDFLAGS="-lX11 -lz";
|
2011-12-15 09:01:03 +01:00
|
|
|
|
2009-08-02 23:47:10 +02:00
|
|
|
meta = {
|
2011-12-15 09:01:03 +01:00
|
|
|
homepage = http://xournal.sourceforge.net/;
|
2009-08-02 23:47:10 +02:00
|
|
|
description = "note-taking application (supposes stylus)";
|
2010-05-27 21:44:17 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.guibert ];
|
2009-08-02 23:47:10 +02:00
|
|
|
};
|
|
|
|
}
|