Merge pull request #270806 from figsoda/done

done: 0.1.7 -> 0.2.0
This commit is contained in:
Nick Cao 2023-11-29 09:27:25 -05:00 committed by GitHub
commit ca6e857886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1174 additions and 712 deletions

File diff suppressed because it is too large Load diff

View file

@ -12,20 +12,22 @@
, gdk-pixbuf , gdk-pixbuf
, gtk4 , gtk4
, libadwaita , libadwaita
, libsecret
, openssl , openssl
, sqlite , sqlite
, darwin , darwin
, gettext
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "done"; pname = "done";
version = "0.1.7"; version = "0.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "done-devs"; owner = "done-devs";
repo = "done"; repo = "done";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-MLCb96jr3YWODZ6xh4fcyFnL5RjFDcEjHKnDD8Gysy8="; hash = "sha256-97bWBayEyhCMjTxxxFVdO8V2pBZuVzss1Tp9/TnfDB0=";
}; };
cargoDeps = rustPlatform.importCargoLock { cargoDeps = rustPlatform.importCargoLock {
@ -51,12 +53,19 @@ stdenv.mkDerivation rec {
gdk-pixbuf gdk-pixbuf
gtk4 gtk4
libadwaita libadwaita
libsecret
openssl openssl
sqlite sqlite
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Foundation darwin.apple_sdk.frameworks.AppKit
]; ];
env = lib.optionalAttrs stdenv.isDarwin {
GETTEXT_DIR = gettext;
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
};
meta = with lib; { meta = with lib; {
description = "The ultimate task management solution for seamless organization and efficiency"; description = "The ultimate task management solution for seamless organization and efficiency";
homepage = "https://done.edfloreshz.dev/"; homepage = "https://done.edfloreshz.dev/";