pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / secretstorage / default.nix
blob8e59e1efe957976e1cf07c8c4debd91173c1f86a
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchPypi,
6   jeepney,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "secretstorage";
12   version = "3.3.3";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "SecretStorage";
19     inherit version;
20     hash = "sha256-JANTPvNp7KbSuoFxhXbF4PVk1cyhtY9zqLI+fU7uvXc=";
21   };
23   propagatedBuildInputs = [
24     cryptography
25     jeepney
26   ];
28   # Needs a D-Bus session
29   doCheck = false;
31   pythonImportsCheck = [ "secretstorage" ];
33   meta = with lib; {
34     description = "Python bindings to FreeDesktop.org Secret Service API";
35     homepage = "https://github.com/mitya57/secretstorage";
36     license = licenses.bsd3;
37     maintainers = with maintainers; [ teto ];
38   };