diff options
author | Izorkin <izorkin@elven.pw> | 2019-03-02 12:37:31 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2019-03-02 12:57:22 +0300 |
commit | a8c2705b0d6d6459c77a5f3f635704611209c4c5 (patch) | |
tree | eba06f7d85e5363c63fdec07499c16b6ee36e147 | |
parent | ce2ef06c353ae6aeca843c0da9f9fe363c1b2bd7 (diff) | |
download | nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar.gz nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar.bz2 nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar.lz nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar.xz nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.tar.zst nixlib-a8c2705b0d6d6459c77a5f3f635704611209c4c5.zip |
datadog-agent: add old version pg8000
-rw-r--r-- | pkgs/development/python-modules/pg8000/1_12.nix | 27 | ||||
-rw-r--r-- | pkgs/development/python-modules/pg8000/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/networking/dd-agent/integrations-core.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 1 |
4 files changed, 30 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pg8000/1_12.nix b/pkgs/development/python-modules/pg8000/1_12.nix new file mode 100644 index 000000000000..26b9cf4f6a96 --- /dev/null +++ b/pkgs/development/python-modules/pg8000/1_12.nix @@ -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; + }; + +} + diff --git a/pkgs/development/python-modules/pg8000/default.nix b/pkgs/development/python-modules/pg8000/default.nix index 161c5e62738e..f1c4e1348a95 100644 --- a/pkgs/development/python-modules/pg8000/default.nix +++ b/pkgs/development/python-modules/pg8000/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ pytz six ]; meta = with stdenv.lib; { - homepage = https://github.com/mfenniak/pg8000; + homepage = https://github.com/tlocke/pg8000; description = "PostgreSQL interface library, for asyncio"; maintainers = with maintainers; [ garbas domenkozar ]; platforms = platforms.unix; diff --git a/pkgs/tools/networking/dd-agent/integrations-core.nix b/pkgs/tools/networking/dd-agent/integrations-core.nix index e466be816e43..edf7a8faaf86 100644 --- a/pkgs/tools/networking/dd-agent/integrations-core.nix +++ b/pkgs/tools/networking/dd-agent/integrations-core.nix @@ -75,7 +75,7 @@ let mongo = (ps: [ ps.pymongo ]); network = (ps: [ ps.psutil ]); nginx = (ps: []); - postgres = (ps: with ps; [ pg8000 psycopg2 ]); + postgres = (ps: with ps; [ pg8000_1_12 psycopg2 ]); }; # All integrations (default + extra): diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0e7ffac4019d..bdbcb853b92c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3507,6 +3507,7 @@ in { periodictable = callPackage ../development/python-modules/periodictable { }; pg8000 = callPackage ../development/python-modules/pg8000 { }; + pg8000_1_12 = callPackage ../development/python-modules/pg8000/1_12.nix { }; pgsanity = callPackage ../development/python-modules/pgsanity { }; |