mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
pythonPackages.pg8000: refactor move to python-modules
This commit is contained in:
parent
6b3f38b185
commit
9ec90782a7
25
pkgs/development/python-modules/pg8000/default.nix
Normal file
25
pkgs/development/python-modules/pg8000/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3135,23 +3135,9 @@ in {
|
|||||||
|
|
||||||
pdfkit = callPackage ../development/python-modules/pdfkit { };
|
pdfkit = callPackage ../development/python-modules/pdfkit { };
|
||||||
|
|
||||||
periodictable = callPackage ../development/python-modules/periodictable { };
|
periodictable = callPackage ../development/python-modules/periodictable { };
|
||||||
|
|
||||||
pg8000 = buildPythonPackage rec {
|
pg8000 = callPackage ../development/python-modules/pg8000 { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user