9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-zwUiUDWdrmLF+Qj9Jy6JGXHaBskRnm+pMKW2GKGGeN8=";
18 fetchSubmodules = true;
21 cargoHash = "sha256-O9/YvvFOaZ1F7HYO/AplWLz1vw0hysJEvGketk8zb9w=";
24 rustPlatform.bindgenHook
26 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit Security ];
28 cargoBuildFlags = [ "--package" "oxigraph_server" ];
30 # requires packaging of the associated python modules
34 homepage = "https://github.com/oxigraph/oxigraph";
35 description = "SPARQL graph database";
36 platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
37 maintainers = with maintainers; [ astro ];
38 license = with licenses; [ asl20 mit ];
39 mainProgram = "oxigraph_server";