depot/third_party/nixpkgs/pkgs/development/python-modules/pysqlcipher3/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

24 lines
603 B
Nix

{ 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 ];
};
}