python3Packages.secretstorage: 2.3.1 -> 3.1.0

Changelog: https://github.com/mitya57/secretstorage/blob/master/changelog

Pertinent changes:

- ported from dbus-python to jeepney
  Thusly Python 3.5 or newer is required.
- We can use pypi
- Add pygobject3
This commit is contained in:
worldofpeace 2018-12-12 05:13:22 -05:00
parent 9f66479ffc
commit 851e2c7e21

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 ];