You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 992B

123456789101112131415161718192021222324252627
  1. { mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
  2. mkDerivation rec {
  3. pname = "qownnotes";
  4. version = "19.9.16";
  5. src = fetchurl {
  6. url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
  7. # Can grab official version like so:
  8. # $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
  9. sha256 = "01ja4a9z87y8wdf1p9pdjdhr2h4hlyf28iqh1wlcapfq8f53zq42";
  10. };
  11. nativeBuildInputs = [ qmake qttools ];
  12. buildInputs = [
  13. qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
  14. ] ++ lib.optional stdenv.isLinux qtwayland;
  15. meta = with lib; {
  16. description = "Plain-text file notepad and todo-list manager with markdown support and ownCloud / Nextcloud integration";
  17. homepage = https://www.qownnotes.org/;
  18. platforms = platforms.all;
  19. license = licenses.gpl2;
  20. maintainers = with maintainers; [ dtzWill ];
  21. };
  22. }