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

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

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

  src = fetchFromGitHub {
    inherit rev;

    owner = "DrakeW";
    repo = "corgi";
    sha256 = "0h9rjv1j129n1ichwpiiyspgim1273asi3s6hgizvbc75gbbb8fn";
  };

  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 ];
  };
}