Skip to content

Commit

Permalink
arti: formatted via nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
Steinhagen committed Sep 22, 2024
1 parent e9cf50d commit 7f2703d
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions pkgs/by-name/ar/arti/package.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitLab
, pkg-config
, sqlite
, openssl
, darwin
{
lib,
stdenv,
rustPlatform,
fetchFromGitLab,
pkg-config,
sqlite,
openssl,
darwin,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -25,7 +26,8 @@ rustPlatform.buildRustPackage rec {

nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];

buildInputs = [ sqlite ]
buildInputs =
[ sqlite ]
++ lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
Expand All @@ -34,9 +36,15 @@ rustPlatform.buildRustPackage rec {
]
);

cargoBuildFlags = [ "--package" "arti" ];
cargoBuildFlags = [
"--package"
"arti"
];

cargoTestFlags = [ "--package" "arti" ];
cargoTestFlags = [
"--package"
"arti"
];

checkFlags = [
# problematic tests that were fixed after the release
Expand All @@ -49,7 +57,10 @@ rustPlatform.buildRustPackage rec {
mainProgram = "arti";
homepage = "https://arti.torproject.org/";
changelog = "https://gitlab.torproject.org/tpo/core/arti/-/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
license = with licenses; [
asl20
mit
];
maintainers = [ ];
};
}

0 comments on commit 7f2703d

Please sign in to comment.