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

buildPythonPackage rec {
  pname = "pysqlcipher3";
  version = "1.0.3";

  disabled = pythonAtLeast "3.9";

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

  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; [ SuperSandro2000 ];
  };
}