about summary refs log tree commit diff
path: root/pkgs/tools/misc/gomi/default.nix
blob: 1de2c292c4d293141b0508986011c1ff64af9905 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "gomi";
  version = "1.1.3";

  src = fetchFromGitHub {
    owner = "b4b4r07";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-XXMBEkcZsrr+zYWP4kbIlYDMleZTB2Mygp8mI9UVU1U=";
  };

  vendorSha256 = "sha256-Y5Kn2rJptOCWCrjJd7JfWcfNDfY72bZHrb98NmEhGEc=";

  subPackages = [ "." ];

  meta = with lib; {
    description = "Replacement for UNIX rm command";
    homepage = "https://github.com/b4b4r07/gomi";
    license = licenses.mit;
    maintainers = with maintainers; [ ozkutuk ];
  };
}