summary refs log tree commit diff
path: root/pkgs/development/tools/corgi/default.nix
blob: 94596ab68afad7094a6f7df5fdaba16b7f3ec79a (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
25
26
27
28
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "corgi-${rev}";
  rev = "v0.2.3";

  goPackagePath = "github.com/DrakeW/corgi";

  src = fetchFromGitHub {
    owner = "DrakeW";
    repo = "corgi";
    inherit rev;
    sha256 = "0ahwpyd6dac04qw2ak51xfbwkr42sab1gkhh52i7hlcy12jpwl8q";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    description = "CLI workflow manager";
    longDescription = ''
      Corgi is a command-line tool that helps with your repetitive command usages by organizing them into reusable snippet.
    '';
    homepage = https://github.com/DrakeW/corgi;
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ kalbasit ];
  };
}