summaryrefslogtreecommitdiffstats
path: root/pkgs/applications
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/office/notes-up/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/office/notes-up/default.nix b/pkgs/applications/office/notes-up/default.nix
index 79a0c0207029..2dee39a0ad3b 100644
--- a/pkgs/applications/office/notes-up/default.nix
+++ b/pkgs/applications/office/notes-up/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, cmake, ninja, gtk3, gtksourceview3, webkitgtk, gtkspell3, glib, libgee, sqlite, discount, wrapGAppsHook }:
+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, cmake, ninja, gtk3, gtksourceview3, webkitgtk, gtkspell3, glib, libgee, sqlite, discount, wrapGAppsHook
+, withPantheon ? false }:
stdenv.mkDerivation rec {
pname = "notes-up";
@@ -31,8 +32,12 @@ stdenv.mkDerivation rec {
webkitgtk
];
+ # Whether to build with contractor support (Pantheon specific)
+ cmakeFlags = if withPantheon then null else [ "-Dnoele=yes" ];
+
meta = with stdenv.lib; {
- description = "Markdown notes editor and manager designed for elementary OS";
+ description = "Markdown notes editor and manager designed for elementary OS"
+ + stdenv.lib.optionalString withPantheon " - built with Contractor support";
homepage = https://github.com/Philip-Scott/Notes-up;
license = licenses.gpl2;
maintainers = with maintainers; [ davidak worldofpeace ];