mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #242556 from blaggacao/init-pypika
python3Packages.pypika: init at 0.48.9
This commit is contained in:
commit
b49c4f87f9
33
pkgs/development/python-modules/pypika/default.nix
Normal file
33
pkgs/development/python-modules/pypika/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue