depot/third_party/nixpkgs/pkgs/applications/version-management/git-nomad/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
885 B
Nix

{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, git }:
rustPlatform.buildRustPackage rec {
pname = "git-nomad";
version = "0.7.1";
src = fetchFromGitHub {
owner = "rraval";
repo = pname;
rev = "v${version}";
sha256 = "sha256-N+iPr389l9PDfJIhvRL6ziGSPI6pgvfdGX6wxmapLhA=";
};
cargoHash = "sha256-7CZC29y9dLpyanolO+epKd0KwmRc1iGY+sPM9f/j5hk=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
nativeCheckInputs = [
git
];
meta = with lib; {
description = "Synchronize work-in-progress git branches in a light weight fashion";
homepage = "https://github.com/rraval/git-nomad";
changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ rraval ];
mainProgram = "git-nomad";
};
}