Skip to content

Commit 2654e2a

Browse files
author
emaryn
committed
git-workspace: refactor
1 parent f2acf15 commit 2654e2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/by-name/gi/git-workspace/package.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ rustPlatform.buildRustPackage rec {
1313

1414
src = fetchFromGitHub {
1515
owner = "orf";
16-
repo = pname;
17-
rev = "v${version}";
18-
sha256 = "sha256-sS452PCX2G49Q5tnScG+ySkUAhFctGsGZrMvQXL7WkY=";
16+
repo = "git-workspace";
17+
tag = "v${version}";
18+
hash = "sha256-sS452PCX2G49Q5tnScG+ySkUAhFctGsGZrMvQXL7WkY=";
1919
};
2020

2121
useFetchCargoVendor = true;
@@ -27,11 +27,11 @@ rustPlatform.buildRustPackage rec {
2727

2828
passthru.updateScript = nix-update-script { };
2929

30-
meta = with lib; {
30+
meta = {
3131
description = "Sync personal and work git repositories from multiple providers";
3232
homepage = "https://github.com/orf/git-workspace";
33-
license = with licenses; [ mit ];
34-
maintainers = with maintainers; [ misuzu ];
33+
license = with lib.licenses; [ mit ];
34+
maintainers = with lib.maintainers; [ misuzu ];
3535
mainProgram = "git-workspace";
3636
};
3737
}

0 commit comments

Comments
 (0)