nixpkgs/pkgs/applications/version-management/git-nomad/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
854 B
Nix
Raw Normal View History

2023-01-19 00:18:49 +00:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, git }:
2022-10-10 16:42:10 +00:00
rustPlatform.buildRustPackage rec {
pname = "git-nomad";
2023-10-27 08:32:10 +00:00
version = "0.7.1";
2022-10-10 16:42:10 +00:00
src = fetchFromGitHub {
owner = "rraval";
repo = pname;
rev = "v${version}";
2023-10-27 08:32:10 +00:00
sha256 = "sha256-N+iPr389l9PDfJIhvRL6ziGSPI6pgvfdGX6wxmapLhA=";
2022-10-10 16:42:10 +00:00
};
2023-10-27 08:32:10 +00:00
cargoHash = "sha256-7CZC29y9dLpyanolO+epKd0KwmRc1iGY+sPM9f/j5hk=";
2022-10-10 16:42:10 +00:00
2023-01-19 00:18:49 +00:00
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
nativeCheckInputs = [
2023-01-19 00:18:49 +00:00
git
];
2022-10-10 16:42:10 +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-19 00:18:49 +00:00
changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md";
2022-10-10 16:42:10 +00:00
license = licenses.mit;
maintainers = with maintainers; [ rraval ];
};
}