python310Packages.pyqldb: init at 3.2.2
This commit is contained in:
parent
4e2a967566
commit
441eaf8292
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/pyqldb/default.nix
Normal file
32
pkgs/development/python-modules/pyqldb/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, boto3, amazon-ion, ionhash, pytestCheckHook }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyqldb";
|
||||||
|
version = "3.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "awslabs";
|
||||||
|
repo = "amazon-qldb-driver-python";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-TKf43+k428h8T6ye6mJrnK9D4J1xpIu0QacM7lWJF7w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ boto3 amazon-ion ionhash ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export AWS_DEFAULT_REGION=us-east-1
|
||||||
|
'';
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "tests/unit" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyqldb" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python driver for Amazon QLDB";
|
||||||
|
homepage = "https://github.com/awslabs/amazon-qldb-driver-python";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.terlar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7480,6 +7480,8 @@ in {
|
||||||
|
|
||||||
pypytools = callPackage ../development/python-modules/pypytools { };
|
pypytools = callPackage ../development/python-modules/pypytools { };
|
||||||
|
|
||||||
|
pyqldb = callPackage ../development/python-modules/pyqldb { };
|
||||||
|
|
||||||
pyqrcode = callPackage ../development/python-modules/pyqrcode { };
|
pyqrcode = callPackage ../development/python-modules/pyqrcode { };
|
||||||
|
|
||||||
pyqt-builder = callPackage ../development/python-modules/pyqt-builder { };
|
pyqt-builder = callPackage ../development/python-modules/pyqt-builder { };
|
||||||
|
|
Loading…
Reference in a new issue