summary refs log tree commit diff
path: root/pkgs/development/python-modules/keyrings-passwordstore/default.nix
blob: 1fee44c15af052505c92191e514c6bf348737c66 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder

, keyring
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "keyrings.passwordstore";
  version = "0.1.0";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-pylZw45FUtLHzUV4cDyl/nT8tCZwNj4Jf41MMlyskoU=";
  };

  nativeBuildInputs = [
    setuptools-scm
  ];

  checkInputs = [
    keyring
  ];

  pythonImportsCheck = [
    "keyrings.passwordstore.backend"
  ];

  meta = {
    license = lib.licenses.mit;
    description = "Keyring backend for password-store";
    homepage = "https://github.com/stv0g/keyrings.passwordstore";
    maintainers = [ lib.maintainers.shlevy ];
  };
}