about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/version-management/git-and-tools/scmpuff/default.nix
blob: de8cb396b7fc577cae5ef623d0950f11ccb086ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "scmpuff";
  version = "0.3.0";
  goPackagePath = "github.com/mroth/scmpuff";

  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    owner = "mroth";
    repo = pname;
    rev = "56dc2041f2c45ab15d41e63058c1c44fff905e81";
    sha256 = "0zrzzcs0i13pfwcqh8qb0sji54vh37rdr7qasg57y56cqpx16vl3";
  };

  meta = with stdenv.lib; {
    description = "Add numbered shortcuts to common git commands";
    homepage = "https://github.com/mroth/scmpuff";
    license = licenses.mit;
    maintainers = with maintainers; [ cpcloud ];
    platforms = concatLists (with platforms; [ linux darwin windows ]);
  };
}