evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pg8000 / default.nix
blob2607688f4cf558a98a8413d6d978650ed2a481b4
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   importlib-metadata,
6   passlib,
7   python-dateutil,
8   pythonOlder,
9   scramp,
10   hatchling,
11   versioningit,
14 buildPythonPackage rec {
15   pname = "pg8000";
16   version = "1.31.2";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-HqRs8J2Oygf+fqre/XlR43vuf6vmdd8WTxpXL/swCHY=";
24   };
26   build-system = [
27     hatchling
28     versioningit
29   ];
31   dependencies = [
32     passlib
33     python-dateutil
34     scramp
35   ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
37   # Tests require a running PostgreSQL instance
38   doCheck = false;
40   pythonImportsCheck = [ "pg8000" ];
42   meta = with lib; {
43     description = "Python driver for PostgreSQL";
44     homepage = "https://github.com/tlocke/pg8000";
45     changelog = "https://github.com/tlocke/pg8000#release-notes";
46     license = with licenses; [ bsd3 ];
47     maintainers = with maintainers; [ domenkozar ];
48     platforms = platforms.unix;
49   };