Merge pull request #242556 from blaggacao/init-pypika

python3Packages.pypika: init at 0.48.9
This commit is contained in:
Sandro 2023-07-16 19:44:29 +02:00 committed by GitHub
commit b49c4f87f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, parameterized
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "pypika";
version = "0.48.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "kayak";
repo = "pypika";
rev = "v${version}";
hash = "sha256-9HKT1xRu23F5ptiKhIgIR8srLIcpDzpowBNuYOhqMU0=";
};
pythonImportsCheck = ["pypika"];
nativeCheckInputs = [
parameterized
unittestCheckHook
];
meta = with lib; {
description = "A python SQL query builder";
homepage = "https://github.com/kayak/pypika";
license = licenses.asl20;
maintainers = with maintainers; [ blaggacao ];
};
}

View file

@ -9344,6 +9344,8 @@ self: super: with self; {
pyphotonfile = callPackage ../development/python-modules/pyphotonfile { };
pypika = callPackage ../development/python-modules/pypika { };
pypillowfight = callPackage ../development/python-modules/pypillowfight { };
pypinyin = callPackage ../development/python-modules/pypinyin { };