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