1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

Merge pull request #75417 from peterhoeg/u/maestral_0_4_4

maestral: 0.4.2 -> 0.6.1
This commit is contained in:
Peter Hoeg 2020-03-10 20:55:36 +08:00 committed by GitHub
commit 228ef079bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 92 additions and 11 deletions

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;

View file

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "3.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "17cjh7g8gbr0gb22nzybkw7vq9x5wfa5ln94hhzijbz934bw1f37";
};
propagatedBuildInputs = [ six webob ];
# no tests
doCheck = false;
meta = with stdenv.lib; {
description = "Automatic error monitoring for django, flask, etc.";
homepage = "https://www.bugsnag.com";
license = licenses.mit;
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,33 @@
{ buildPythonPackage
, fetchPypi
, lib
, serpent
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Pyro5";
version = "5.7";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "08n9jqm81pjw9hvzk6kgxwqvh29q3glgccf77kxih5nn77pwdnni";
};
propagatedBuildInputs = [ serpent ];
checkInputs = [ pytestCheckHook ];
# ignore network related tests, which fail in sandbox
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" ];
meta = with lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = "https://github.com/irmen/Pyro5";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View file

@ -525,6 +525,8 @@ in {
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
bugsnag = callPackage ../development/python-modules/bugsnag { };
cachecontrol = callPackage ../development/python-modules/cachecontrol { };
cachelib = callPackage ../development/python-modules/cachelib { };
@ -5455,6 +5457,8 @@ in {
Pyro4 = callPackage ../development/python-modules/pyro4 { };
Pyro5 = callPackage ../development/python-modules/pyro5 { };
rope = callPackage ../development/python-modules/rope { };
ropper = callPackage ../development/python-modules/ropper { };