kuzu, python3Packages.kuzu: init at 0.9.0 (#386879)

This commit is contained in:
Rémi NICOLE
2025-04-14 18:36:23 +02:00
committed by GitHub
3 changed files with 86 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
lib,
stdenv,
cmake,
ninja,
python3,
fetchFromGitHub,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kuzu";
version = "0.9.0";
src = fetchFromGitHub {
owner = "kuzudb";
repo = "kuzu";
tag = "v${finalAttrs.version}";
hash = "sha256-3B2E51PluPKl0OucmTPZYEa9BzYoU0Y8G1PQY86ynFA=";
};
outputs = [
"out"
"lib"
"dev"
];
nativeBuildInputs = [
cmake
ninja
python3
];
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
meta = {
changelog = "https://github.com/kuzudb/kuzu/releases/tag/v${finalAttrs.version}";
description = "Embeddable property graph database management system";
homepage = "https://kuzudb.com/";
license = lib.licenses.mit;
mainProgram = "kuzu";
maintainers = with lib.maintainers; [ sdht0 ];
platforms = lib.platforms.all;
};
})
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools-scm,
cmake,
}:
buildPythonPackage rec {
pname = "kuzu";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-Llnz1NH8OF6ekNeuCfBy7C9M/v9QhYJSOgA0zrB29us=";
};
pyproject = true;
nativeBuildInputs = [
setuptools-scm
cmake
];
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "kuzu" ];
meta = {
description = "Python bindings for Kuzu, an embeddable property graph database management system";
homepage = "https://kuzudb.com/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sdht0 ];
};
}
+2
View File
@@ -7439,6 +7439,8 @@ self: super: with self; {
kurbopy = callPackage ../development/python-modules/kurbopy { };
kuzu = callPackage ../development/python-modules/kuzu { };
l18n = callPackage ../development/python-modules/l18n { };
labelbox = callPackage ../development/python-modules/labelbox { };