Merge pull request #214014 from astro/oxigraph
oxigraph: init at 0.3.11
This commit is contained in:
commit
af453a57a4
2 changed files with 44 additions and 0 deletions
40
pkgs/servers/oxigraph/default.nix
Normal file
40
pkgs/servers/oxigraph/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, IOKit
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "oxigraph";
|
||||
version = "0.3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7KbDZKKJPk3QTp4siIbdB6xKbslw73Lhc7NoeOuA0Og=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Yqn6hwejg6LzcqW0MiUN3tqrOql6cpu/5plaOz+2/ns=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Security ];
|
||||
|
||||
cargoBuildFlags = [ "--package" "oxigraph_server" ];
|
||||
|
||||
# requires packaging of the associated python modules
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/oxigraph/oxigraph";
|
||||
description = "SPARQL graph database";
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
|
||||
maintainers = with maintainers; [ astro ];
|
||||
license = with licenses; [ asl20 mit ];
|
||||
};
|
||||
}
|
|
@ -9301,6 +9301,10 @@ with pkgs;
|
|||
|
||||
ox = callPackage ../applications/editors/ox { };
|
||||
|
||||
oxigraph = callPackage ../servers/oxigraph {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit Security;
|
||||
};
|
||||
|
||||
file-rename = callPackage ../tools/filesystems/file-rename { };
|
||||
|
||||
kcollectd = libsForQt5.callPackage ../tools/misc/kcollectd {};
|
||||
|
|
Loading…
Reference in a new issue