Delete oxigraph

This commit is contained in:
Sandro - 2023-06-07 20:06:35 +02:00
parent 000001a17b
commit 1111111f5e
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
4 changed files with 0 additions and 78 deletions

View File

@ -563,13 +563,6 @@
];
};
oxigraph = nixosSystem' {
modules = [
self.nixosModules.cluster-options
./hosts/oxigraph
];
};
pipebert = nixosSystem' {
modules = [
./hosts/pipebert

View File

@ -1,34 +0,0 @@
{ config, pkgs, ... }:
{
networking.hostName = "oxigraph";
system.stateVersion = "22.11";
c3d2.hq.statistics.enable = true;
deployment = {
vcpu = 16;
mem = 8192;
needForSpeed = true;
};
users = {
groups.oxigraph = {};
users.oxigraph = {
isSystemUser = true;
group = "oxigraph";
home = "/var/lib/oxigraph";
createHome = true;
};
};
systemd.services.oxigraph = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
User = "oxigraph";
Group = "oxigraph";
ExecStart = "${pkgs.oxigraph}/bin/oxigraph_server serve -l ${config.users.users.oxigraph.home}/data";
};
};
# curl https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.nt.bz2 |bzip2 -cd - | parallel -j`nproc` --pipe -L 100000 --joblog /tmp/split_log.txt --resume-failed 'F=$(mktemp /tmp/wikidata-XXXXXX); cat > $F && time curl -X POST -H 'Content-Type:application/n-triples' -T $F "http://localhost:7878/store?graph=https://wikidata.org/"; rm $F'
}

View File

@ -113,8 +113,6 @@ with final; {
doCheck = false;
});
oxigraph = callPackage ./oxigraph.nix { };
pi-sensors = callPackage ./pi-sensors { };
plume = callPackage ./plume { };

View File

@ -1,35 +0,0 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, llvmPackages
}:
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 = [
pkg-config llvmPackages.clang
];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
preConfigure = ''
cd server
'';
postBuild = ''
cd ..
'';
doCheck = false;
}