summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-nomad/default.nix
blob: 04ba2ca849a6e11ba22f0be0bdd02238d0c552b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, rustPlatform, fetchFromGitHub, SystemConfiguration }:

rustPlatform.buildRustPackage rec {
  pname = "git-nomad";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "rraval";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-1PXAdXafkPOIVzaWjW/RlWHwYhMqPoj0Hj5JmOMUj8A=";
  };

  buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration ];

  cargoHash = "sha256-ULcdJRla1JwI0y6ngW9xQXjNw2wO48HuAczsNIsJJK0=";

  meta = with lib; {
    description = "Synchronize work-in-progress git branches in a light weight fashion";
    homepage = "https://github.com/rraval/git-nomad";
    license = licenses.mit;
    maintainers = with maintainers; [ rraval ];
  };
}