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 { lib, fetchPypi, buildPythonPackage, pythonOlder, cryptography, jeepney, pygobject3 }:
, dbus-python, cryptography }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "secretstorage"; pname = "secretstorage";
version = "2.3.1"; version = "3.1.0";
src = fetchFromGitHub { disabled = pythonOlder "3.5";
owner = "mitya57";
repo = "secretstorage"; src = fetchPypi {
rev = version; pname = "SecretStorage";
sha256 = "1sjd2jjbxgkkxyrfwx89x0hsnn39w2cr2qkxbg1iz52znr4sqism"; 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; { meta = with lib; {
homepage = "https://github.com/mitya57/secretstorage"; homepage = https://github.com/mitya57/secretstorage;
description = "Python bindings to FreeDesktop.org Secret Service API"; description = "Python bindings to FreeDesktop.org Secret Service API";
license = licenses.bsdOriginal; license = licenses.bsdOriginal;
maintainers = with maintainers; [ teto ]; maintainers = with maintainers; [ teto ];

View File

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