diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-02 11:08:53 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-01-04 03:37:43 +0100 |
commit | b4281d2cbfefc2f89d5b21a6663ad582e2cde11a (patch) | |
tree | 42bef62d4bec1e4c05f807e3281e60ed832e42c6 | |
parent | 18c96c037bc66a2bb65f5b90204b91ecf16af501 (diff) |
pythonPackages.pysqlcipher3: Init at 1.0.3
-rw-r--r-- | pkgs/development/python-modules/pysqlcipher3/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pysqlcipher3/default.nix b/pkgs/development/python-modules/pysqlcipher3/default.nix new file mode 100644 index 0000000000000..ab3f949cf1edb --- /dev/null +++ b/pkgs/development/python-modules/pysqlcipher3/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index be5484ff56fec..a4efdd030a757 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5690,6 +5690,10 @@ in { pysptk = callPackage ../development/python-modules/pysptk { }; + pysqlcipher3 = callPackage ../development/python-modules/pysqlcipher3 { + inherit (pkgs) sqlcipher; + }; + pysqlite = callPackage ../development/python-modules/pysqlite { }; pysqueezebox = callPackage ../development/python-modules/pysqueezebox { }; |