summary refs log tree commit diff
path: root/pkgs/development/python-modules/secretstorage/default.nix
blob: 98bbef174ae78419bf6294003280d03b56380e89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, buildPythonPackage
, dbus-python, cryptography }:

buildPythonPackage rec {
  pname = "secretstorage";
  version = "2.3.1";

  src = fetchFromGitHub {
    owner = "mitya57";
    repo = "secretstorage";
    rev = version;
    sha256 = "1sjd2jjbxgkkxyrfwx89x0hsnn39w2cr2qkxbg1iz52znr4sqism";
  };

  propagatedBuildInputs = [ dbus-python cryptography ];

  doCheck = false; # requires dbus session

  meta = with stdenv.lib; {
    homepage = "https://github.com/mitya57/secretstorage";
    description = "Python bindings to FreeDesktop.org Secret Service API";
    license = licenses.bsdOriginal;
    maintainers = with maintainers; [ teto ];
  };
}