@@ -0,0 +1,31 @@
1+{ stdenv
2+, fetchFromGitHub
3+, rustPlatform
4+, Security
5+}:
6+
7+rustPlatform.buildRustPackage rec {
8+ pname = "git-workspace";
9+ version = "0.4.1";
10+
11+ src = fetchFromGitHub {
12+ owner = "orf";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "01qxm00c5wqpy1clrvjr44v7cg4nqawaf5a6qnvvgswvis4kakzr";
16+ };
17+
18+ cargoSha256 = "16rkmk888alfvq8nsggi26vck1c7ya0fa5j7gv219g5py4gw2n34";
19+
20+ verifyCargoDeps = true;
21+
22+ buildInputs = with stdenv; lib.optional isDarwin Security;
23+
24+ meta = with stdenv.lib; {
25+ description = "Sync personal and work git repositories from multiple providers";
26+ homepage = "https://github.com/orf/git-workspace";
27+ license = with licenses; [ mit ];
28+ platforms = platforms.all;
29+ maintainers = with maintainers; [ misuzu ];
30+ };
31+}