maestral: 0.4.2 -> 0.6.1

This commit is contained in:
Peter Hoeg 2019-12-02 09:01:02 +08:00
parent 662700ae91
commit 75f3ab6b68

View file

@ -1,24 +1,40 @@
{ stdenv, lib, python3Packages, fetchFromGitHub { stdenv
, withGui ? false, wrapQtAppsHook ? null }: , lib
, fetchFromGitHub
, python3
, withGui ? false
, wrapQtAppsHook ? null
}:
python3Packages.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "maestral${lib.optionalString withGui "-gui"}"; pname = "maestral${lib.optionalString withGui "-gui"}";
version = "0.4.2"; version = "0.6.1";
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SamSchott"; owner = "SamSchott";
repo = "maestral-dropbox"; repo = "maestral-dropbox";
rev = "v${version}"; rev = "v${version}";
sha256 = "0xis0cqfp3wgajwk44dmi2gbfirmz0a0zi25qxdzpdn0z19hp88m"; sha256 = "06i3c7i85x879np158156mba7kxz2cwh75390sc9gwwngc95d9h9";
}; };
disabled = python3Packages.pythonOlder "3.6"; propagatedBuildInputs = with python3.pkgs; [
blinker
propagatedBuildInputs = (with python3Packages; [ bugsnag
blinker click dropbox keyring keyrings-alt Pyro4 requests u-msgpack-python watchdog click
dropbox
keyring
keyrings-alt
lockfile
Pyro5
requests
u-msgpack-python
watchdog
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
sdnotify systemd sdnotify
] ++ lib.optional withGui pyqt5); systemd
] ++ lib.optional withGui pyqt5;
nativeBuildInputs = lib.optional withGui wrapQtAppsHook; nativeBuildInputs = lib.optional withGui wrapQtAppsHook;