mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
Merge pull request #68478 from peterhoeg/u/maestral
maestral: 0.2.6 -> 0.4.0
This commit is contained in:
commit
fd3b329068
@ -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;
|
||||
|
@ -1,27 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools_scm, entrypoints, secretstorage
|
||||
, dbus-python, setuptools_scm, entrypoints, secretstorage
|
||||
, pytest, pytest-flake8 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keyring";
|
||||
version = "18.0.1";
|
||||
version = "19.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838";
|
||||
sha256 = "13frfmws03jdyz9wxb4ylkvk80qiyb6a3h3sn7wx3ry97bn5li3a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
checkInputs = [ pytest pytest-flake8 ];
|
||||
|
||||
propagatedBuildInputs = [ entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
|
||||
propagatedBuildInputs = [ dbus-python entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
# checks try to access a darwin path on linux
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Store and access your passwords safely";
|
||||
|
Loading…
Reference in New Issue
Block a user