1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/applications/office/qownnotes/default.nix

28 lines
990 B
Nix
Raw Normal View History

2019-01-27 21:22:10 +00:00
{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qttranslations, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }:
stdenv.mkDerivation rec {
pname = "qownnotes";
2019-01-31 19:54:05 +00:00
version = "19.2.0";
2019-01-27 21:22:10 +00:00
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
2019-01-31 19:54:05 +00:00
sha256 = "0n60cnzdfvwn126k8mh5m3wms9avjrnzfrpsvyfhg6l7vm6sbhdi";
2019-01-27 21:22:10 +00:00
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
] ++ stdenv.lib.optional stdenv.isLinux qtwayland;
meta = with stdenv.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 ];
};
}