Files
nixpkgs/pkgs/by-name/gi/git-chain/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
907 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
git,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "git-chain";
version = "0-unstable-2025-03-25";
src = fetchFromGitHub {
owner = "dashed";
repo = "git-chain";
rev = "f6a6d365e6e3cce15e74649a421044a01fb4f68f";
hash = "sha256-lOAURUhR2Ts1DF8yW0WnovSWeZFC8UwR6j4cxoreonY=";
};
cargoHash = "sha256-0Ur80eIKQIsM5vyIt+9YpFufHTk97+T+KXoAkJE90Ag=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
nativeCheckInputs = [ git ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = with lib; {
description = "Tool for rebasing a chain of local git branches";
homepage = "https://github.com/dashed/git-chain";
license = licenses.mit;
mainProgram = "git-chain";
maintainers = with maintainers; [ bcyran ];
};
}