biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / gi / git-instafix / package.nix
blob18ab6f5fa0bd8521288925c91fd262fd5c3a962a
1 { git
2 , lib
3 , libgit2
4 , rustPlatform
5 , stdenv
6 , fetchFromGitHub
7 }:
8 let
9   inherit
10     (lib)
11     licenses
12     maintainers
13     ;
15   version = "0.2.7";
17 rustPlatform.buildRustPackage {
18   pname = "git-instafix";
19   inherit version;
21   src = fetchFromGitHub {
22     owner = "quodlibetor";
23     repo = "git-instafix";
24     rev = "v${version}";
25     hash = "sha256-Uz+KQ8cQT3v97EtmbAv2II30dUrFD0hMo/GhnqcdBOs=";
26   };
28   cargoHash = "sha256-12UkZyyu4KH3dcCadr8UhK8DTtVjcsjYzt7kiNLpUqU=";
30   buildInputs = [ libgit2 ];
31   nativeCheckInputs = [ git ];
33   meta = {
34     description = "Quickly fix up an old commit using your currently-staged changes";
35     mainProgram = "git-instafix";
36     homepage = "https://github.com/quodlibetor/git-instafix";
37     license = with licenses; [ mit asl20 ];
38     maintainers = with maintainers; [ mightyiam quodlibetor ];
39     changelog = "https://github.com/quodlibetor/git-instafix/releases/tag/v${version}";
40     broken = stdenv.hostPlatform.isDarwin;
41   };