mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
oxigraph: cleanup
This commit is contained in:
parent
8a46ae0b14
commit
51efce3c9b
1 changed files with 14 additions and 11 deletions
|
@ -5,14 +5,20 @@
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
let
|
||||||
|
features = [
|
||||||
|
"rustls-webpki"
|
||||||
|
"geosparql"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "oxigraph";
|
pname = "oxigraph";
|
||||||
version = "0.4.9";
|
version = "0.4.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "oxigraph";
|
owner = "oxigraph";
|
||||||
repo = "oxigraph";
|
repo = "oxigraph";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-sv9LpAoPQ4oFrGI6j6NgVZwEwpM1wt93lHkUwnvmhIY=";
|
hash = "sha256-sv9LpAoPQ4oFrGI6j6NgVZwEwpM1wt93lHkUwnvmhIY=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
@ -27,10 +33,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildAndTestSubdir = "cli";
|
buildAndTestSubdir = "cli";
|
||||||
buildNoDefaultFeatures = true;
|
buildNoDefaultFeatures = true;
|
||||||
buildFeatures = [
|
buildFeatures = features;
|
||||||
"rustls-webpki"
|
|
||||||
"geosparql"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Man pages and autocompletion
|
# Man pages and autocompletion
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -43,9 +46,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoCheckNoDefaultFeatures = true;
|
cargoCheckNoDefaultFeatures = true;
|
||||||
cargoCheckFeatures = buildFeatures;
|
cargoCheckFeatures = features;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/oxigraph/oxigraph";
|
homepage = "https://github.com/oxigraph/oxigraph";
|
||||||
description = "SPARQL graph database";
|
description = "SPARQL graph database";
|
||||||
platforms = [
|
platforms = [
|
||||||
|
@ -53,14 +56,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
"aarch64-darwin"
|
"aarch64-darwin"
|
||||||
];
|
];
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
astro
|
astro
|
||||||
tnias
|
tnias
|
||||||
];
|
];
|
||||||
license = with licenses; [
|
license = with lib.licenses; [
|
||||||
asl20
|
asl20
|
||||||
mit
|
mit
|
||||||
];
|
];
|
||||||
mainProgram = "oxigraph";
|
mainProgram = "oxigraph";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue