mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
dee8937ae7
svn path=/nixpkgs/trunk/; revision=16538
36 lines
884 B
Nix
36 lines
884 B
Nix
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 = [
|
|
];
|
|
};
|
|
}
|