2022-12-17 10:02:37 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysqlcipher3";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "1.2.0";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
disabled = pythonOlder "3.3";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|