2020-01-09 16:04:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, Security
|
2020-07-26 00:42:04 +00:00
|
|
|
, pkgconfig, openssl
|
2020-01-09 16:04:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "git-workspace";
|
2020-07-26 00:42:04 +00:00
|
|
|
version = "0.7.0";
|
2020-01-09 16:04:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "orf";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-26 00:42:04 +00:00
|
|
|
sha256 = "1ckfk221ag6yhbqxfz432wpgbhddgzgdsaxhl1ymw90pwpnz717y";
|
2020-01-09 16:04:37 +00:00
|
|
|
};
|
|
|
|
|
2020-07-26 00:42:04 +00:00
|
|
|
cargoSha256 = "0zkns037vgy96ybmn80px515ivz6yhj5br5mwbvxgl73va92wd9v";
|
2020-01-09 16:04:37 +00:00
|
|
|
|
2020-07-26 00:42:04 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
2020-01-09 16:04:37 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|