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
49 lines
1011 B
Nix
49 lines
1011 B
Nix
{
|
|
git,
|
|
lib,
|
|
libgit2,
|
|
rustPlatform,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
inherit (lib)
|
|
licenses
|
|
maintainers
|
|
;
|
|
|
|
version = "0.2.7";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "git-instafix";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "quodlibetor";
|
|
repo = "git-instafix";
|
|
rev = "v${version}";
|
|
hash = "sha256-Uz+KQ8cQT3v97EtmbAv2II30dUrFD0hMo/GhnqcdBOs=";
|
|
};
|
|
|
|
cargoHash = "sha256-B0XTk0KxA60AuaS6eO3zF/eA/cTcLwA31ipG4VjvO8Q=";
|
|
|
|
buildInputs = [ libgit2 ];
|
|
nativeCheckInputs = [ git ];
|
|
|
|
meta = {
|
|
description = "Quickly fix up an old commit using your currently-staged changes";
|
|
mainProgram = "git-instafix";
|
|
homepage = "https://github.com/quodlibetor/git-instafix";
|
|
license = with licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
maintainers = with maintainers; [
|
|
mightyiam
|
|
quodlibetor
|
|
];
|
|
changelog = "https://github.com/quodlibetor/git-instafix/releases/tag/v${version}";
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|