1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/office/qownnotes/default.nix
R. RyanTM 43fe77c0e8 qownnotes: 19.8.6 -> 19.9.16
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/qownnotes/versions
2019-10-04 23:51:53 +02:00

28 lines
992 B
Nix

{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
mkDerivation rec {
pname = "qownnotes";
version = "19.9.16";
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Can grab official version like so:
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
sha256 = "01ja4a9z87y8wdf1p9pdjdhr2h4hlyf28iqh1wlcapfq8f53zq42";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
] ++ lib.optional stdenv.isLinux qtwayland;
meta = with lib; {
description = "Plain-text file notepad and todo-list manager with markdown support and ownCloud / Nextcloud integration";
homepage = https://www.qownnotes.org/;
platforms = platforms.all;
license = licenses.gpl2;
maintainers = with maintainers; [ dtzWill ];
};
}