mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
maestral: 0.4.2 -> 0.6.1
This commit is contained in:
parent
662700ae91
commit
75f3ab6b68
1 changed files with 27 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue