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";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.1.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;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-Lo75+2y2jZJrQZj9xrJvVRGWmOo8fI5iXzEURn00Y3E=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|