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
, nix-update-script
, pantheon
, pkg-config
, vala_0_46
, vala
, cmake
, ninja
, gtk3
@ -12,27 +13,28 @@
, gtkspell3
, glib
, libgee
, pcre
, sqlite
, discount
, wrapGAppsHook
, withPantheon ? false }:
, withPantheon ? false
}:
stdenv.mkDerivation rec {
pname = "notes-up";
version = "2.0.2";
version = "unstable-2020-12-29";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Notes-up";
rev = version;
sha256 = "0bklgp8qrrj9y5m77xqbpy1ld2d9ya3rlxklgzx3alffq5312i4s";
rev = "2ea9f35f588769758f5d2d4436d71c4059141a6f";
sha256 = "sha256-lKOM9+s34xYB9bF9pgip9DFu+6AaxSE4HjFVhoWtttk=";
};
nativeBuildInputs = [
cmake
ninja
# fails with newer vala: https://github.com/Philip-Scott/Notes-up/issues/349
vala_0_46
vala
pkg-config
wrapGAppsHook
];
@ -45,6 +47,7 @@ stdenv.mkDerivation rec {
gtkspell3
libgee
pantheon.granite
pcre
sqlite
webkitgtk
];
@ -60,9 +63,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
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";
license = licenses.gpl2;
license = licenses.gpl2Only;
maintainers = with maintainers; [ davidak ];
platforms = platforms.linux;
};