nixpkgs/pkgs/by-name/gi/git-prole/package.nix
Rebecca Turner 108dd28960
git-prole: 0.1.1 -> 0.5.1
Diff: https://github.com/9999years/git-prole/compare/refs/tags/v0.1.1...v0.5.1

Changelog: https://github.com/9999years/git-prole/releases/tag/v0.5.1
Changelog: https://github.com/9999years/git-prole/releases/tag/v0.5.0
Changelog: https://github.com/9999years/git-prole/releases/tag/v0.4.0

Changes:
- Convert multiple worktrees
- Improve path display
- Fix copying broken symlinks in `git prole add`
- Print a message if there's nothing to do when converting a repository
- Log working directory and env variables when running commands
- Fix `git prole add` in the container directory
- Run commands when adding worktrees
- `git prole add` now knows how to create `--detached` worktrees
- Add `branch_replacements` option
- Rework config option names
- Rename `git prole config generate` to `git prole config init`
- Add a user manual
2024-10-21 17:22:26 -07:00

41 lines
857 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
git,
bash,
nix-update-script,
}:
let
version = "0.5.1";
in
rustPlatform.buildRustPackage {
pname = "git-prole";
inherit version;
src = fetchFromGitHub {
owner = "9999years";
repo = "git-prole";
rev = "refs/tags/v${version}";
hash = "sha256-jJEskahZRCpM2WEH4myTLfowQxEJ4WCNXbTwGkwBHnY=";
};
cargoHash = "sha256-u4UJH+dIDI+I6fEQTRe3RRufYZwxBENxnwULSSCOZF8=";
nativeCheckInputs = [
git
bash
];
meta = {
homepage = "https://github.com/9999years/git-prole";
changelog = "https://github.com/9999years/git-prole/releases/tag/v${version}";
description = "`git-worktree(1)` manager";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers._9999years ];
mainProgram = "git-prole";
};
passthru.updateScript = nix-update-script { };
}