Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }: 2 3buildPythonPackage rec { 4 pname = "pysqlcipher3"; 5 version = "1.2.0"; 6 7 disabled = pythonOlder "3.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU="; 12 }; 13 14 buildInputs = [ sqlcipher ]; 15 16 pythonImportsCheck = [ "pysqlcipher3" ]; 17 18 meta = with lib; { 19 description = "Python 3 bindings for SQLCipher"; 20 homepage = "https://github.com/rigglemania/pysqlcipher3/"; 21 license = licenses.zlib; 22 maintainers = with maintainers; [ SuperSandro2000 ]; 23 }; 24}