File tree Expand file tree Collapse file tree 3 files changed +86
-0
lines changed
development/python-modules/kuzu Expand file tree Collapse file tree 3 files changed +86
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ cmake ,
5+ ninja ,
6+ python3 ,
7+ fetchFromGitHub ,
8+ versionCheckHook ,
9+ } :
10+
11+ stdenv . mkDerivation ( finalAttrs : {
12+ pname = "kuzu" ;
13+ version = "0.9.0" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "kuzudb" ;
17+ repo = "kuzu" ;
18+ tag = "v${ finalAttrs . version } " ;
19+ hash = "sha256-3B2E51PluPKl0OucmTPZYEa9BzYoU0Y8G1PQY86ynFA=" ;
20+ } ;
21+
22+ outputs = [
23+ "out"
24+ "lib"
25+ "dev"
26+ ] ;
27+
28+ nativeBuildInputs = [
29+ cmake
30+ ninja
31+ python3
32+ ] ;
33+
34+ nativeInstallCheckInputs = [
35+ versionCheckHook
36+ ] ;
37+ doInstallCheck = true ;
38+ versionCheckProgramArg = [ "--version" ] ;
39+
40+ meta = {
41+ changelog = "https://github.com/kuzudb/kuzu/releases/tag/v${ finalAttrs . version } " ;
42+ description = "Embeddable property graph database management system" ;
43+ homepage = "https://kuzudb.com/" ;
44+ license = lib . licenses . mit ;
45+ mainProgram = "kuzu" ;
46+ maintainers = with lib . maintainers ; [ sdht0 ] ;
47+ platforms = lib . platforms . all ;
48+ } ;
49+ } )
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchPypi ,
5+ setuptools-scm ,
6+ cmake ,
7+ } :
8+
9+ buildPythonPackage rec {
10+ pname = "kuzu" ;
11+ version = "0.9.0" ;
12+
13+ src = fetchPypi {
14+ inherit pname version ;
15+ hash = "sha256-Llnz1NH8OF6ekNeuCfBy7C9M/v9QhYJSOgA0zrB29us=" ;
16+ } ;
17+
18+ pyproject = true ;
19+
20+ nativeBuildInputs = [
21+ setuptools-scm
22+ cmake
23+ ] ;
24+
25+ dontUseCmakeConfigure = true ;
26+
27+ pythonImportsCheck = [ "kuzu" ] ;
28+
29+ meta = {
30+ description = "Python bindings for Kuzu, an embeddable property graph database management system" ;
31+ homepage = "https://kuzudb.com/" ;
32+ license = lib . licenses . mit ;
33+ maintainers = with lib . maintainers ; [ sdht0 ] ;
34+ } ;
35+ }
Original file line number Diff line number Diff line change @@ -7439,6 +7439,8 @@ self: super: with self; {
74397439
74407440 kurbopy = callPackage ../development/python-modules/kurbopy { };
74417441
7442+ kuzu = callPackage ../development/python-modules/kuzu { };
7443+
74427444 l18n = callPackage ../development/python-modules/l18n { };
74437445
74447446 labelbox = callPackage ../development/python-modules/labelbox { };
You can’t perform that action at this time.
0 commit comments