about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pysqlcipher3/default.nix
blob: 1b573628edda10f729d5ce1f5c62dcba54bb7d86 (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
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }:

buildPythonPackage rec {
  pname = "pysqlcipher3";
  version = "1.2.0";
  format = "setuptools";

  disabled = pythonOlder "3.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";
  };

  buildInputs = [ sqlcipher ];

  pythonImportsCheck = [ "pysqlcipher3" ];

  meta = with lib; {
    description = "Python 3 bindings for SQLCipher";
    homepage = "https://github.com/rigglemania/pysqlcipher3/";
    license = licenses.zlib;
    maintainers = with maintainers; [ ];
  };
}