02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
26 lines
605 B
Nix
26 lines
605 B
Nix
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysqlcipher3";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
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; [ ];
|
|
};
|
|
}
|