datadog-agent: add old version pg8000

This commit is contained in:
Izorkin 2019-03-02 12:37:31 +03:00
parent ce2ef06c35
commit a8c2705b0d
4 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytz
, six
}:
buildPythonPackage rec {
pname = "pg8000";
version = "1.12.5";
src = fetchPypi {
inherit pname version;
sha256 = "1yc3knh28cx3rjb2ifg5kmqqa78yyyw2gzzslbm9fj0mzh5aq1sx";
};
propagatedBuildInputs = [ pytz six ];
meta = with stdenv.lib; {
homepage = https://github.com/tlocke/pg8000;
description = "PostgreSQL interface library, for asyncio";
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.unix;
};
}

View File

@ -17,7 +17,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pytz six ]; propagatedBuildInputs = [ pytz six ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/mfenniak/pg8000; homepage = https://github.com/tlocke/pg8000;
description = "PostgreSQL interface library, for asyncio"; description = "PostgreSQL interface library, for asyncio";
maintainers = with maintainers; [ garbas domenkozar ]; maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -75,7 +75,7 @@ let
mongo = (ps: [ ps.pymongo ]); mongo = (ps: [ ps.pymongo ]);
network = (ps: [ ps.psutil ]); network = (ps: [ ps.psutil ]);
nginx = (ps: []); nginx = (ps: []);
postgres = (ps: with ps; [ pg8000 psycopg2 ]); postgres = (ps: with ps; [ pg8000_1_12 psycopg2 ]);
}; };
# All integrations (default + extra): # All integrations (default + extra):

View File

@ -3507,6 +3507,7 @@ in {
periodictable = callPackage ../development/python-modules/periodictable { }; periodictable = callPackage ../development/python-modules/periodictable { };
pg8000 = callPackage ../development/python-modules/pg8000 { }; pg8000 = callPackage ../development/python-modules/pg8000 { };
pg8000_1_12 = callPackage ../development/python-modules/pg8000/1_12.nix { };
pgsanity = callPackage ../development/python-modules/pgsanity { }; pgsanity = callPackage ../development/python-modules/pgsanity { };