Merge pull request #56172 from worldofpeace/elementary-post

fondo, notes-up: init
This commit is contained in:
worldofpeace 2019-02-22 19:17:49 -05:00 committed by GitHub
commit 904732d6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, glib, gsettings-desktop-schemas, gtk3, libgee, json-glib, glib-networking, libsoup, libunity, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "fondo";
version = "1.2.1";
src = fetchFromGitHub {
owner = "calo001";
repo = pname;
rev = version;
sha256 = "0xczqkkq54gjay7wdl8mpil7klfrpvcw2a0n1brq7qrfhsmhc7pc";
};
nativeBuildInputs = [
meson
ninja
pantheon.vala
pkgconfig
python3
wrapGAppsHook
];
buildInputs = [
glib
glib-networking
gsettings-desktop-schemas
gtk3
json-glib
libgee
libsoup
libunity
pantheon.granite
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with stdenv.lib; {
description = "Find the most beautiful wallpapers for your desktop";
homepage = https://github.com/calo001/fondo;
license = licenses.agpl3Plus;
maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,46 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, cmake, ninja, gtk3, gtksourceview3, webkitgtk, gtkspell3, glib, libgee, sqlite, discount, wrapGAppsHook
, withPantheon ? false }:
stdenv.mkDerivation rec {
pname = "notes-up";
version = "1.6.3";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Notes-up";
rev = version;
sha256 = "06fzdb823kkami0jch9ccblsvw3x7zd1d4xz8fv3giscl3f36x4q";
};
nativeBuildInputs = [
cmake
ninja
pantheon.vala
pkgconfig
wrapGAppsHook
];
buildInputs = [
discount
glib
gtk3
gtksourceview3
gtkspell3
libgee
pantheon.granite
sqlite
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"
+ stdenv.lib.optionalString withPantheon " - built with Contractor support";
homepage = https://github.com/Philip-Scott/Notes-up;
license = licenses.gpl2;
maintainers = with maintainers; [ davidak worldofpeace ];
platforms = platforms.linux;
};
}

View File

@ -62,6 +62,8 @@ lib.makeScope pkgs.newScope (self: with self; {
elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { };
notes-up = pkgs.notes-up.override { withPantheon = true; };
#### APPS
elementary-calculator = callPackage ./apps/elementary-calculator { };

View File

@ -4508,6 +4508,8 @@ in
notify-osd = callPackage ../applications/misc/notify-osd { };
notes-up = callPackage ../applications/office/notes-up { };
notify-osd-customizable = callPackage ../applications/misc/notify-osd-customizable { };
nox = callPackage ../tools/package-management/nox { };
@ -17031,6 +17033,8 @@ in
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
fondo = callPackage ../applications/graphics/fondo { };
font-manager = callPackage ../applications/misc/font-manager { };
foo-yc20 = callPackage ../applications/audio/foo-yc20 { };