2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2017-08-27 22:28:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-08-02 10:38:45 +01:00
|
|
|
pname = "git-fire";
|
|
|
|
version = "unstable-2017-08-27";
|
2017-08-27 22:28:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qw3rtman";
|
|
|
|
repo = "git-fire";
|
|
|
|
rev = "d72b68ed356f726c77c60294f9220275f16c9931";
|
|
|
|
sha256 = "1hdwkhyjjx31y0lpjkhbb4f5y9f7g70fnd4c2246cmk2rbsvj5b2";
|
|
|
|
};
|
2017-08-28 10:49:10 +01:00
|
|
|
|
2017-08-27 22:28:11 +01:00
|
|
|
installPhase = ''
|
2017-08-28 10:49:10 +01:00
|
|
|
install -D -m755 $src/git-fire $out/bin/git-fire
|
2017-08-27 22:28:11 +01:00
|
|
|
'';
|
2017-08-28 10:49:10 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-08-27 22:28:11 +01: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-17 09:26:38 +00:00
|
|
|
platforms = platforms.all;
|
2021-10-08 20:37:28 +01:00
|
|
|
maintainers = with maintainers; [ swflint ];
|
|
|
|
mainProgram = "git-fire";
|
2017-08-27 22:28:11 +01:00
|
|
|
};
|
|
|
|
}
|