depot/third_party/nixpkgs/pkgs/development/python-modules/secretstorage/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

40 lines
753 B
Nix

{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, jeepney
, pythonOlder
}:
buildPythonPackage rec {
pname = "secretstorage";
version = "3.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "SecretStorage";
inherit version;
hash = "sha256-JANTPvNp7KbSuoFxhXbF4PVk1cyhtY9zqLI+fU7uvXc=";
};
propagatedBuildInputs = [
cryptography
jeepney
];
# Needs a D-Bus session
doCheck = false;
pythonImportsCheck = [
"secretstorage"
];
meta = with lib; {
description = "Python bindings to FreeDesktop.org Secret Service API";
homepage = "https://github.com/mitya57/secretstorage";
license = licenses.bsd3;
maintainers = with maintainers; [ teto ];
};
}