about summary refs log tree commit diff
path: root/pkgs/development/python-modules/libkeepass/default.nix
blob: 90b6f78c69734dca52d6873b709c39a04ab262c7 (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
{
  lib,
  fetchPypi,
  buildPythonPackage,
  lxml,
  pycryptodome,
  colorama,
}:

buildPythonPackage rec {
  pname = "libkeepass";
  version = "0.3.1.post1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0pwg7n9xqcjia1qmz6g48h5s31slh3mxmcqag73gq4zhl4xb6bai";
  };

  propagatedBuildInputs = [
    lxml
    pycryptodome
    colorama
  ];

  # No tests on PyPI
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/libkeepass/libkeepass";
    description = "A library to access KeePass 1.x/KeePassX (v3) and KeePass 2.x (v4) files";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ jqueiroz ];
  };
}