Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ 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"; };}