Unverified Commit a902fee0 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #238120 from pbek/feature/qownnotes-update

qownnotes: 23.6.4 -> 23.6.5
parents a05cb80b 131c14aa
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -13,19 +13,20 @@
, wrapQtAppsHook
, botan2
, pkg-config
, nixosTests
}:

let
  pname = "qownnotes";
  appname = "QOwnNotes";
  version = "23.6.4";
  version = "23.6.5";
in
stdenv.mkDerivation {
  inherit pname appname version;

  src = fetchurl {
    url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
    hash = "sha256-4uH76/zLgNcuX6nI6YtTxGB9cYj3jHla/B3w9w6CUx4=";
    hash = "sha256-FTGptp6RWVJYdLXtDI5cymt1bNr+0yHk0wLCOuTbxlE=";
  };

  nativeBuildInputs = [
@@ -60,6 +61,9 @@ stdenv.mkDerivation {
    makeWrapper $out/Applications/${appname}.app/Contents/MacOS/${appname} $out/bin/${pname}
  '';

  # Tests QOwnNotes using the NixOS module by launching xterm:
  passthru.tests.basic-nixos-module-functionality = nixosTests.qownnotes;

  meta = with lib; {
    description = "Plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration";
    homepage = "https://www.qownnotes.org/";