diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-08-02 21:47:10 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-08-02 21:47:10 +0000 |
commit | dee8937ae75434b7a7fe7c1acb916432c5de04f2 (patch) | |
tree | 524a8fd2eb1b59c81311d7fd76269b557fc982cb /pkgs/applications/graphics/xournal | |
parent | 4f81e9a0c2f811024dc3b840f80fd2f303d5936e (diff) |
Adding Xournal - a note-taking application for stylus usage
svn path=/nixpkgs/trunk/; revision=16538
Diffstat (limited to 'pkgs/applications/graphics/xournal')
-rw-r--r-- | pkgs/applications/graphics/xournal/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/xournal/default.nix b/pkgs/applications/graphics/xournal/default.nix new file mode 100644 index 0000000000000..1f17f8309792a --- /dev/null +++ b/pkgs/applications/graphics/xournal/default.nix @@ -0,0 +1,35 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.attrByPath ["version"] "0.4.2.1" a; + buildInputs = with a; [ + ghostscript atk gtk glib fontconfig freetype + libgnomecanvas libgnomeprint libgnomeprintui + pango libX11 xproto zlib poppler popplerData + autoconf automake libtool pkgconfig + ]; +in +rec { + src = fetchurl { + url = "http://downloads.sourceforge.net/xournal/xournal-${version}.tar.gz"; + sha256 = "1zxqcdhsd7h19c6pz7dwkr8bncn64v07liiqyw504m2v8lylrsif"; + }; + + inherit buildInputs; + configureFlags = []; + + /* doConfigure should be removed if not needed */ + phaseNames = ["setEnvVars" "doAutotools" "doConfigure" "doMakeInstall"]; + + setEnvVars = a.noDepEntry ('' + export NIX_LDFLAGS="-lX11" + ''); + + name = "xournal-" + version; + meta = { + description = "note-taking application (supposes stylus)"; + maintainers = [ + ]; + }; +} |