2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "git-fire";
|
|
|
|
version = "unstable-2017-08-27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qw3rtman";
|
|
|
|
repo = "git-fire";
|
|
|
|
rev = "d72b68ed356f726c77c60294f9220275f16c9931";
|
|
|
|
sha256 = "1hdwkhyjjx31y0lpjkhbb4f5y9f7g70fnd4c2246cmk2rbsvj5b2";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -m755 $src/git-fire $out/bin/git-fire
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ''
|
|
|
|
Push ALL changes in a git repository
|
|
|
|
'';
|
|
|
|
longDescription = ''
|
|
|
|
In the event of an emergency (fire, etc.), automatically commit all changes/files in a repository, pushing to all known remotes all commits and stashes.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/qw3rtman/git-fire";
|
|
|
|
license = licenses.mit;
|
2021-03-19 17:17:44 +00:00
|
|
|
platforms = platforms.all;
|
2021-10-09 14:59:57 +00:00
|
|
|
maintainers = with maintainers; [ swflint ];
|
|
|
|
mainProgram = "git-fire";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|