mactop: 0.1.9 -> 0.2.3 (#370511)
[NixPkgs.git] / pkgs / by-name / gi / git-instafix / package.nix
blob90abdb11e819b2167e190d2717fcf0cf08ca0779
2   git,
3   lib,
4   libgit2,
5   rustPlatform,
6   stdenv,
7   fetchFromGitHub,
8 }:
9 let
10   inherit (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; [
38       mit
39       asl20
40     ];
41     maintainers = with maintainers; [
42       mightyiam
43       quodlibetor
44     ];
45     changelog = "https://github.com/quodlibetor/git-instafix/releases/tag/v${version}";
46     broken = stdenv.hostPlatform.isDarwin;
47   };