1{ lib, stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation {
4 pname = "git-fire";
5 version = "unstable-2017-08-27";
6
7 src = fetchFromGitHub {
8 owner = "qw3rtman";
9 repo = "git-fire";
10 rev = "d72b68ed356f726c77c60294f9220275f16c9931";
11 sha256 = "1hdwkhyjjx31y0lpjkhbb4f5y9f7g70fnd4c2246cmk2rbsvj5b2";
12 };
13
14 installPhase = ''
15 install -D -m755 $src/git-fire $out/bin/git-fire
16 '';
17
18 meta = with lib; {
19 description = ''
20 Push ALL changes in a git repository
21 '';
22 longDescription = ''
23 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.
24 '';
25 homepage = "https://github.com/qw3rtman/git-fire";
26 license = licenses.mit;
27 platforms = platforms.all;
28 maintainers = with maintainers; [ swflint ];
29 mainProgram = "git-fire";
30 };
31}