about summary refs log tree commit diff
path: root/pkgs/aszlig/xournal/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-09-04 08:03:02 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-09-04 08:10:31 +0200
commita65b325f3f0268c2c98bee19b91104eff7f65093 (patch)
treeebed8851083ff981a7d3784a16e550d5c595525a /pkgs/aszlig/xournal/default.nix
parent07629e3b2726ce9d54a90b98cc3c976837d2f4b3 (diff)
pkgs/aszlig: Add xournal with aspect ratio patch
This is an override of xournal with a patch that allows to keep the
aspect ratio while resizing.

Origin of the patch: https://sourceforge.net/p/xournal/patches/58/

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/aszlig/xournal/default.nix')
-rw-r--r--pkgs/aszlig/xournal/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/aszlig/xournal/default.nix b/pkgs/aszlig/xournal/default.nix
new file mode 100644
index 00000000..bdccc210
--- /dev/null
+++ b/pkgs/aszlig/xournal/default.nix
@@ -0,0 +1,5 @@
+{ xournal }:
+
+xournal.overrideAttrs (attrs: {
+  patches = (attrs.patches or []) ++ [ ./aspect-ratio.patch ];
+})