lol

Merge pull request #198084 from fabaff/aiopg-bump

python310Packages.psycopg2: 2.9.3 -> 2.9.5, python310Packages.aiopg: 1.3.5 -> 1.4.0

authored by

Fabian Affolter and committed by
GitHub
d3a76a9a 42be0c4f

+18 -10
+8 -4
pkgs/development/python-modules/aiopg/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "aiopg"; 11 - version = "1.3.5"; 12 - disabled = pythonOlder "3.6"; 11 + version = "1.4.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 13 15 14 16 src = fetchFromGitHub { 15 17 owner = "aio-libs"; 16 18 repo = pname; 17 19 rev = "v${version}"; 18 - sha256 = "sha256-ZHfwuDtQm7SlLX3sAoYONgCIWnafOj/L8bXjAdwYDKI="; 20 + hash = "sha256-GD5lRSUjASTwBk5vEK8v3xD8eNyxpwSrO3HHvtwubmk="; 19 21 }; 20 22 21 23 propagatedBuildInputs = [ ··· 31 33 # Tests requires a PostgreSQL Docker instance 32 34 doCheck = false; 33 35 34 - pythonImportsCheck = [ "aiopg" ]; 36 + pythonImportsCheck = [ 37 + "aiopg" 38 + ]; 35 39 36 40 meta = with lib; { 37 41 description = "Python library for accessing a PostgreSQL database";
+10 -6
pkgs/development/python-modules/psycopg2/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "psycopg2"; 15 - version = "2.9.3"; 16 - outputs = [ "out" "doc" ]; 15 + version = "2.9.5"; 16 + format = "setuptools"; 17 17 18 18 # Extension modules don't work well with PyPy. Use psycopg2cffi instead. 19 19 # c.f. https://github.com/NixOS/nixpkgs/pull/104151#issuecomment-729750892 ··· 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "8e841d1bf3434da985cc5ef13e6f75c8981ced601fd70cc6bf33351b91562981"; 24 + sha256 = "sha256-pSRtLmg6ly4hh6hxS1ws+BVsBkYp+amxqHPBcw2eJFo="; 25 25 }; 26 + 27 + outputs = [ "out" "doc" ]; 26 28 27 29 nativeBuildInputs = [ 28 30 postgresql ··· 36 38 37 39 sphinxRoot = "doc/src"; 38 40 39 - # requires setting up a postgresql database 41 + # Requires setting up a PostgreSQL database 40 42 doCheck = false; 41 43 42 - pythonImportsCheck = [ "psycopg2" ]; 44 + pythonImportsCheck = [ 45 + "psycopg2" 46 + ]; 43 47 44 48 meta = with lib; { 45 49 description = "PostgreSQL database adapter for the Python programming language"; 46 50 homepage = "https://www.psycopg.org"; 47 - license = with licenses; [ lgpl3 zpl20 ]; 51 + license = with licenses; [ lgpl3Plus zpl20 ]; 48 52 maintainers = with maintainers; [ ]; 49 53 }; 50 54 }