pantheon.notes-up: 2.0.2 -> unstable-2020-12-29 (#128316)

This commit is contained in:
fortune 2021-06-30 09:22:36 +08:00 committed by GitHub
parent 8408ad4f25
commit 172fb6beb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,10 @@
{ lib, stdenv { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, nix-update-script , nix-update-script
, pantheon , pantheon
, pkg-config , pkg-config
, vala_0_46 , vala
, cmake , cmake
, ninja , ninja
, gtk3 , gtk3
@ -12,27 +13,28 @@
, gtkspell3 , gtkspell3
, glib , glib
, libgee , libgee
, pcre
, sqlite , sqlite
, discount , discount
, wrapGAppsHook , wrapGAppsHook
, withPantheon ? false }: , withPantheon ? false
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "notes-up"; pname = "notes-up";
version = "2.0.2"; version = "unstable-2020-12-29";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Philip-Scott"; owner = "Philip-Scott";
repo = "Notes-up"; repo = "Notes-up";
rev = version; rev = "2ea9f35f588769758f5d2d4436d71c4059141a6f";
sha256 = "0bklgp8qrrj9y5m77xqbpy1ld2d9ya3rlxklgzx3alffq5312i4s"; sha256 = "sha256-lKOM9+s34xYB9bF9pgip9DFu+6AaxSE4HjFVhoWtttk=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
ninja ninja
# fails with newer vala: https://github.com/Philip-Scott/Notes-up/issues/349 vala
vala_0_46
pkg-config pkg-config
wrapGAppsHook wrapGAppsHook
]; ];
@ -45,6 +47,7 @@ stdenv.mkDerivation rec {
gtkspell3 gtkspell3
libgee libgee
pantheon.granite pantheon.granite
pcre
sqlite sqlite
webkitgtk webkitgtk
]; ];
@ -62,7 +65,7 @@ stdenv.mkDerivation rec {
description = "Markdown notes editor and manager designed for elementary OS" description = "Markdown notes editor and manager designed for elementary OS"
+ lib.optionalString withPantheon " - built with Contractor support"; + lib.optionalString withPantheon " - built with Contractor support";
homepage = "https://github.com/Philip-Scott/Notes-up"; homepage = "https://github.com/Philip-Scott/Notes-up";
license = licenses.gpl2; license = licenses.gpl2Only;
maintainers = with maintainers; [ davidak ]; maintainers = with maintainers; [ davidak ];
platforms = platforms.linux; platforms = platforms.linux;
}; };