851e2c7e21
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
31 lines
707 B
Nix
31 lines
707 B
Nix
{ lib, fetchPypi, buildPythonPackage, pythonOlder, cryptography, jeepney, pygobject3 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "secretstorage";
|
|
version = "3.1.0";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
pname = "SecretStorage";
|
|
inherit version;
|
|
sha256 = "12vxzradibfmznssh7x2zd7qym2hl7wn34fn2yn58pnx6sykrai9";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
jeepney
|
|
pygobject3
|
|
];
|
|
|
|
# Needs a D-Bus Sesison
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|