2022-03-15 17:50:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gomi";
|
2022-09-06 14:01:47 +00:00
|
|
|
version = "1.1.3";
|
2022-03-15 17:50:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "b4b4r07";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-06 14:01:47 +00:00
|
|
|
sha256 = "sha256-XXMBEkcZsrr+zYWP4kbIlYDMleZTB2Mygp8mI9UVU1U=";
|
2022-03-15 17:50:57 +00:00
|
|
|
};
|
|
|
|
|
2022-09-06 14:01:47 +00:00
|
|
|
vendorSha256 = "sha256-Y5Kn2rJptOCWCrjJd7JfWcfNDfY72bZHrb98NmEhGEc=";
|
2022-03-15 17:50:57 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Replacement for UNIX rm command";
|
|
|
|
homepage = "https://github.com/b4b4r07/gomi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ozkutuk ];
|
|
|
|
};
|
|
|
|
}
|