pythonPackages.pg8000: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:25:00 -04:00 committed by Frederik Rietdijk
parent 6b3f38b185
commit 9ec90782a7
2 changed files with 27 additions and 16 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytz
}:
buildPythonPackage rec {
pname = "pg8000";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "188658db63c2ca931ae1bf0167b34efaac0ecc743b707f0118cc4b87e90ce488";
};
propagatedBuildInputs = [ pytz ];
meta = with stdenv.lib; {
homepage = https://github.com/realazthat/aiopg8000;
description = "PostgreSQL interface library, for asyncio";
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.linux;
};
}

View File

@ -3135,23 +3135,9 @@ in {
pdfkit = callPackage ../development/python-modules/pdfkit { };
periodictable = callPackage ../development/python-modules/periodictable { };
periodictable = callPackage ../development/python-modules/periodictable { };
pg8000 = buildPythonPackage rec {
name = "pg8000-1.10.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pg8000/${name}.tar.gz";
sha256 = "188658db63c2ca931ae1bf0167b34efaac0ecc743b707f0118cc4b87e90ce488";
};
propagatedBuildInputs = with self; [ pytz ];
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.linux;
};
};
pg8000 = callPackage ../development/python-modules/pg8000 { };
pgspecial = callPackage ../development/python-modules/pgspecial { };