Merge pull request #257681 from misuzu/git-workspace-update

git-workspace: 1.2.1 -> 1.3.0
This commit is contained in:
Mario Rodas 2023-09-28 08:38:11 -05:00 committed by GitHub
commit b2c86fea6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,29 +6,33 @@
, Security
, pkg-config
, openssl
, nix-update-script
, testers
, git-workspace
}:
rustPlatform.buildRustPackage rec {
pname = "git-workspace";
version = "1.2.1";
version = "1.3.0";
src = fetchFromGitHub {
owner = "orf";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Ppb42u31/iJd743vKX+5RdI7aITsWg9Jg0Aheguep5s=";
sha256 = "sha256-dtOYMZGBnFwas/k3yHSNnKlVwwLUOx7QseshJWY1X4o=";
};
cargoSha256 = "sha256-O0wyNdgY1meEBJh/tEHxwzjNQdzxbKn5Ji+gdd146vQ=";
cargoSha256 = "sha256-4zqbNhR8A0yPD/qIJgP6049bUunAKRyGmlNmC3yPc5Q=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
passthru.tests.version = testers.testVersion { package = git-workspace; };
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = git-workspace; };
};
meta = with lib; {
description = "Sync personal and work git repositories from multiple providers";