From 29b345c4a9fcb8fa84b7ab46cc60d7cc88de27c9 Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 27 Sep 2023 19:43:21 +0300 Subject: [PATCH] git-workspace: 1.2.1 -> 1.3.0 Diff: https://github.com/orf/git-workspace/compare/v1.2.1...v1.3.0 --- .../version-management/git-workspace/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/git-workspace/default.nix b/pkgs/applications/version-management/git-workspace/default.nix index e225d5b55ceb..e56e57201e57 100644 --- a/pkgs/applications/version-management/git-workspace/default.nix +++ b/pkgs/applications/version-management/git-workspace/default.nix @@ -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";