Merge pull request #51904 from worldofpeace/secretstorage/3.1.0

python3Packages.secretstorage: 2.3.1 -> 3.1.0
This commit is contained in:
Robert Schütz 2018-12-12 16:50:41 +01:00 committed by GitHub
commit 34f04810cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 12 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
, testpath
, tornado
}:
buildPythonPackage rec {
pname = "jeepney";
version = "0.4";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0w1w1rawl9k4lx91w16d19kbmf1349mhy8ph8x3w0qp1blm432b0";
};
propagatedBuildInputs = [
tornado
];
checkInputs = [
pytest
testpath
];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = https://gitlab.com/takluyver/jeepney;
description = "Pure Python DBus interface";
license = licenses.mit;
};
}

View File

@ -1,23 +1,28 @@
{ stdenv, fetchFromGitHub, buildPythonPackage
, dbus-python, cryptography }:
{ lib, fetchPypi, buildPythonPackage, pythonOlder, cryptography, jeepney, pygobject3 }:
buildPythonPackage rec {
pname = "secretstorage";
version = "2.3.1";
version = "3.1.0";
src = fetchFromGitHub {
owner = "mitya57";
repo = "secretstorage";
rev = version;
sha256 = "1sjd2jjbxgkkxyrfwx89x0hsnn39w2cr2qkxbg1iz52znr4sqism";
disabled = pythonOlder "3.5";
src = fetchPypi {
pname = "SecretStorage";
inherit version;
sha256 = "12vxzradibfmznssh7x2zd7qym2hl7wn34fn2yn58pnx6sykrai9";
};
propagatedBuildInputs = [ dbus-python cryptography ];
propagatedBuildInputs = [
cryptography
jeepney
pygobject3
];
doCheck = false; # requires dbus session
# Needs a D-Bus Sesison
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/mitya57/secretstorage";
meta = with lib; {
homepage = https://github.com/mitya57/secretstorage;
description = "Python bindings to FreeDesktop.org Secret Service API";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ teto ];

View File

@ -2709,6 +2709,8 @@ in {
jellyfish = callPackage ../development/python-modules/jellyfish { };
jeepney = callPackage ../development/python-modules/jeepney { };
j2cli = callPackage ../development/python-modules/j2cli { };
jinja2 = callPackage ../development/python-modules/jinja2 { };