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