Unverified Commit b7fe8151 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

git-workspace: 1.8.0 -> 1.9.0 (#384126)

parents 300b5aff 50bd78f8
Loading
Loading
Loading
Loading
+16 −8
Original line number Diff line number Diff line
@@ -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";
  };
}