diff options
author | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2024-03-14 19:18:19 +0700 |
---|---|---|
committer | Shahar "Dawn" Or <mightyiampresence@gmail.com> | 2024-03-14 19:18:19 +0700 |
commit | 6cabf8e212d0bb63da63917a97299bfbea0c576a (patch) | |
tree | 544ae8f5437904aa9e6f51177cec680d6308e3ef /pkgs/by-name/gi | |
parent | 2a34566b67bef34c551f204063faeecc444ae9da (diff) |
git-instafix: init at 0.2.1
Diffstat (limited to 'pkgs/by-name/gi')
-rw-r--r-- | pkgs/by-name/gi/git-instafix/package.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/git-instafix/package.nix b/pkgs/by-name/gi/git-instafix/package.nix new file mode 100644 index 0000000000000..9085d381ff2dd --- /dev/null +++ b/pkgs/by-name/gi/git-instafix/package.nix @@ -0,0 +1,42 @@ +{ git +, lib +, libgit2 +, makeWrapper +, rustPlatform +, stdenv +, fetchFromGitHub +}: +let + inherit + (lib) + licenses + maintainers + ; + + version = "0.2.1"; +in +rustPlatform.buildRustPackage { + pname = "git-instafix"; + inherit version; + + src = fetchFromGitHub { + owner = "quodlibetor"; + repo = "git-instafix"; + rev = "v${version}"; + hash = "sha256-rWHiaZji3GECsiMqvEGC/tF+K29ZLlY6+TCNxtixHQo="; + }; + + cargoHash = "sha256-t5vlr3YxjRPqMHwPqVjWul4RdSg0hiTWUQxcJmGKiTQ="; + + buildInputs = [ libgit2 ]; + nativeCheckInputs = [ git ]; + + meta = { + description = "Quickly fix up an old commit using your currently-staged changes"; + homepage = "https://github.com/quodlibetor/git-instafix"; + license = with licenses; [ mit asl20 ]; + maintainers = with maintainers; [ mightyiam ]; + changelog = "https://github.com/quodlibetor/git-instafix/releases/tag/v${version}"; + broken = stdenv.isDarwin; + }; +} |