mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python3Packages.duckdb-engine: init at 0.1.8
This commit is contained in:
parent
7b4363195b
commit
4c139b0198
40
pkgs/development/python-modules/duckdb-engine/default.nix
Normal file
40
pkgs/development/python-modules/duckdb-engine/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, duckdb
|
||||||
|
, hypothesis
|
||||||
|
, ipython-sql
|
||||||
|
, poetry-core
|
||||||
|
, sqlalchemy
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "duckdb-engine";
|
||||||
|
version = "0.1.8";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
repo = "duckdb_engine";
|
||||||
|
owner = "Mause";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-dnm1nveCjrXFjDRykHp39AeVx7sk7Q/XwGn6hxdydT4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ duckdb sqlalchemy ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook hypothesis ipython-sql ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "duckdb_engine" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Very very very basic sqlalchemy driver for duckdb";
|
||||||
|
homepage = "https://github.com/Mause/duckdb_engine";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ cpcloud ];
|
||||||
|
};
|
||||||
|
}
|
@ -2530,6 +2530,8 @@ in {
|
|||||||
inherit (pkgs) duckdb;
|
inherit (pkgs) duckdb;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
duckdb-engine = callPackage ../development/python-modules/duckdb-engine { };
|
||||||
|
|
||||||
duecredit = callPackage ../development/python-modules/duecredit { };
|
duecredit = callPackage ../development/python-modules/duecredit { };
|
||||||
|
|
||||||
duet = callPackage ../development/python-modules/duet { };
|
duet = callPackage ../development/python-modules/duet { };
|
||||||
|
Loading…
Reference in New Issue
Block a user