We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
41 lines
951 B
Nix
41 lines
951 B
Nix
{ lib, fetchFromGitHub
|
|
, libiconv
|
|
, openssl
|
|
, pkg-config
|
|
, rustPlatform
|
|
, stdenv
|
|
, Security
|
|
, SystemConfiguration
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-quickfix";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "siedentop";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IAjet/bDG/Hf/whS+yrEQSquj8s5DEmFis+5ysLLuxs=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
|
Security
|
|
SystemConfiguration
|
|
libiconv
|
|
];
|
|
|
|
cargoSha256 = "sha256-eTAEf2nRrJ7i2Dw5BBZlLLu8mK2G/wUk40ivtfxk1pI=";
|
|
|
|
meta = with lib; {
|
|
description = "Quickfix allows you to commit changes in your git repository to a new branch without leaving the current branch";
|
|
homepage = "https://github.com/siedentop/git-quickfix";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ msfjarvis ];
|
|
};
|
|
}
|