Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "git-workspace";
version = "1.9.0";
src = fetchFromGitHub {
owner = "orf";
repo = "git-workspace";
tag = "v${version}";
hash = "sha256-SeE8O48lzqJSg8rfmIgsUcGPbquo2OvK3OUUBG21ksc=";
};
cargoHash = "sha256-CaHZivayZNuCi8vID8Qr5j/Ed+GGdNu+7NznvsCb3j0=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
checkFlags = [
# integration tests, need docker
# https://rust.testcontainers.org/system_requirements/docker/
"--skip=test_archive_command"
"--skip=test_fetch_and_run_commands"
"--skip=test_update_command"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Sync personal and work git repositories from multiple providers";
homepage = "https://github.com/orf/git-workspace";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ misuzu ];
mainProgram = "git-workspace";
};
}