nixpkgs/pkgs/development/python-modules/pysqlcipher3/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
596 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }:
buildPythonPackage rec {
pname = "pysqlcipher3";
version = "1.2.0";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";
};
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 ];
};
}