maestral: 0.2.6 -> 0.4.0

This commit is contained in:
Peter Hoeg 2019-08-16 09:52:17 +08:00
parent 31a577c736
commit f6382c947b

View File

@ -1,21 +1,23 @@
{ lib, python3Packages, fetchFromGitHub
{ stdenv, lib, python3Packages, fetchFromGitHub
, withGui ? false, wrapQtAppsHook ? null }:
python3Packages.buildPythonApplication rec {
pname = "maestral${lib.optionalString withGui "-gui"}";
version = "0.2.6";
version = "0.4.0";
src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral-dropbox";
rev = "v${version}";
sha256 = "1nfjm58f6hnqbx9xnz2h929s2175ka1yf5jjlk4i60v0wppnrrdf";
sha256 = "1jjn9cz43850xvs52gvx16qc5z4l91y4kpn6fpl05iwgaisbi1ws";
};
disabled = python3Packages.pythonOlder "3.6";
propagatedBuildInputs = (with python3Packages; [
blinker click dropbox keyring keyrings-alt requests u-msgpack-python watchdog
blinker click dropbox keyring keyrings-alt Pyro4 requests u-msgpack-python watchdog
] ++ lib.optionals stdenv.isLinux [
sdnotify systemd
] ++ lib.optional withGui pyqt5);
nativeBuildInputs = lib.optional withGui wrapQtAppsHook;