diff --git a/pkgs/by-name/gi/git-workspace/package.nix b/pkgs/by-name/gi/git-workspace/package.nix index e09edde9d9eb..efab397d2f5f 100644 --- a/pkgs/by-name/gi/git-workspace/package.nix +++ b/pkgs/by-name/gi/git-workspace/package.nix @@ -9,29 +9,37 @@ rustPlatform.buildRustPackage rec { pname = "git-workspace"; - version = "1.8.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "orf"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-sS452PCX2G49Q5tnScG+ySkUAhFctGsGZrMvQXL7WkY="; + repo = "git-workspace"; + tag = "v${version}"; + hash = "sha256-SeE8O48lzqJSg8rfmIgsUcGPbquo2OvK3OUUBG21ksc="; }; useFetchCargoVendor = true; - cargoHash = "sha256-iYT45iqKmx+t+xImbQuSv/nAvaiLNrLLqbe8zKAF4Jw="; + 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 = with lib; { + meta = { description = "Sync personal and work git repositories from multiple providers"; homepage = "https://github.com/orf/git-workspace"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ misuzu ]; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ misuzu ]; mainProgram = "git-workspace"; }; }