2023-01-20 10:41:00 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, git }:
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "git-nomad";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rraval";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-1PXAdXafkPOIVzaWjW/RlWHwYhMqPoj0Hj5JmOMUj8A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-ULcdJRla1JwI0y6ngW9xQXjNw2wO48HuAczsNIsJJK0=";
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
git
|
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Synchronize work-in-progress git branches in a light weight fashion";
|
|
|
|
homepage = "https://github.com/rraval/git-nomad";
|
2023-01-20 10:41:00 +00:00
|
|
|
changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rraval ];
|
|
|
|
};
|
|
|
|
}
|