Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rustfinity";
|
|
version = "0.2.14";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-Oh+AEgmBhlOQaCFECheuHCXT6hndpUnZH/l+tWMp2RQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-e1RnPqfgeyeEh8Av81RTuaMgYc6zoBZcygbc29DNKqE=";
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
|
|
|
|
OPENSSL_NO_VENDOR = 1;
|
|
|
|
# Requires network and fs access
|
|
checkFlags = [
|
|
"--skip=challenge::tests::test_challenge_exists"
|
|
"--skip=crates_io::tests::test_get_latest_version"
|
|
"--skip=dir::tests::test_get_current_dir"
|
|
"--skip=download::tests::download_file::test_downloads_file"
|
|
"--skip=download::tests::download_file::test_renames_starter"
|
|
];
|
|
|
|
meta = {
|
|
description = "CLI for Rustfinity challenges solving";
|
|
homepage = "https://github.com/dcodesdev/rustfinity.com/tree/main/crates/cli";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ nartsiss ];
|
|
mainProgram = "rustfinity";
|
|
};
|
|
}
|