mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 01:18:24 +00:00
git-prole: init at 0.1.1
`git-prole` is a `git-worktree(1)` manager.
This commit is contained in:
parent
d8b9d4f989
commit
571b72a8c0
40
pkgs/by-name/gi/git-prole/package.nix
Normal file
40
pkgs/by-name/gi/git-prole/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
git,
|
||||
bash,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "0.1.1";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "git-prole";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "9999years";
|
||||
repo = "git-prole";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IJsNZt5eID1ghz5Rj53OfidgPoMS2qq+7qgqYEu4zPc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2z7UEHVomm2zuImdcQq0G9fEhKrHLrPNUhVrFugG3w4=";
|
||||
|
||||
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 { };
|
||||
}
|
Loading…
Reference in New Issue
Block a user