10 src = fetchFromGitHub {
13 rev = "06134dde5bb53eb1d2aaa52afdaf9ff3bf1aa674";
14 sha256 = "sha256-g4Jam7yxMc+piYQzgMvVsNTF+ce1U3thzYl/M9rKG4o=";
18 description = "Graph database written in rust";
19 homepage = "https://github.com/indradb/indradb";
20 license = licenses.mpl20;
21 maintainers = with maintainers; [ happysalada ];
22 platforms = platforms.unix;
26 indradb-server = rustPlatform.buildRustPackage {
27 pname = "indradb-server";
28 version = "unstable-2021-01-05";
31 cargoHash = "sha256-3WtiW31AkyNX7HiT/zqfNo2VSKR7Q57/wCigST066Js=";
33 buildAndTestSubdir = "server";
35 PROTOC = "${protobuf}/bin/protoc";
39 rustPlatform.bindgenHook
42 # test rely on libindradb and it can't be found
43 # failure at https://github.com/indradb/indradb/blob/master/server/tests/plugins.rs#L63
44 # `let _server = Server::start(&format!("../target/debug/libindradb_plugin_*.{}", LIBRARY_EXTENSION)).unwrap();`
47 indradb-client = rustPlatform.buildRustPackage {
48 pname = "indradb-client";
49 version = "unstable-2021-01-05";
52 cargoHash = "sha256-pxan6W/CEsOxv8DbbytEBuIqxWn/C4qT4ze/RnvESOM=";
54 PROTOC = "${protobuf}/bin/protoc";
58 rustPlatform.bindgenHook
61 buildAndTestSubdir = "client";