mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
arti: 2.3.0 -> 2.4.0
announcement: https://blog.torproject.org/arti_2_4_0_released/ changelog: https://gitlab.torproject.org/tpo/core/arti/-/blob/arti-v2.4.0/CHANGELOG.md diff: https://gitlab.torproject.org/tpo/core/arti/-/compare/arti-v2.3.0...arti-v2.4.0
This commit is contained in:
parent
13431a172a
commit
f9c51806df
1 changed files with 11 additions and 21 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "arti";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.torproject.org";
|
||||
|
|
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
owner = "core";
|
||||
repo = "arti";
|
||||
tag = "arti-v${finalAttrs.version}";
|
||||
hash = "sha256-OEGKjYJ3p4g0ZfeK6k8IJJPjgSBMrSlKlxsCw1OwyaI=";
|
||||
hash = "sha256-YLOdrHstmN2pLl75uclkbpN5h3iBs3xpraZ8XN6R/+Q=";
|
||||
};
|
||||
|
||||
# Working around a bug in cargo that appears with cargo-auditable, see
|
||||
|
|
@ -31,22 +31,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
--replace-fail '"tor-rpcbase"' '"dep:tor-rpcbase"'
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-OJgrIXL185W9rcQd7XZsgiqN4in74Oc2jDT1ZmcCC6E=";
|
||||
buildAndTestSubdir = "crates/arti";
|
||||
cargoHash = "sha256-7X3JJbt0/jxaMvBR3XQvguR7tqd96kiqX66G2byvPjM=";
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
|
||||
|
||||
buildInputs = [ sqlite ] ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package"
|
||||
"arti"
|
||||
];
|
||||
|
||||
cargoTestFlags = [
|
||||
"--package"
|
||||
"arti"
|
||||
];
|
||||
|
||||
# `full` includes all stable and non-conflicting feature flags. the primary
|
||||
# downsides are increased binary size and memory usage for building, but
|
||||
# those are acceptable for nixpkgs
|
||||
|
|
@ -69,9 +59,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
# sandbox. this does NOT affect downstream users of Arti.
|
||||
env.ARTI_FS_DISABLE_PERMISSION_CHECKS = 1;
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru = {
|
||||
|
|
@ -84,10 +72,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
mainProgram = "arti";
|
||||
homepage = "https://arti.torproject.org/";
|
||||
changelog = "https://gitlab.torproject.org/tpo/core/arti/-/blob/arti-v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = with lib.licenses; [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
license =
|
||||
with lib.licenses;
|
||||
OR [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
rapiteanu
|
||||
whispersofthedawn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue