2022-03-15 17:50:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gomi";
|
2023-03-30 23:41:09 +00:00
|
|
|
version = "1.1.6";
|
2022-03-15 17:50:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "b4b4r07";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-03-30 23:41:09 +00:00
|
|
|
sha256 = "sha256-YsR2KU5Np6xQHkjM8KAoDp/XZ/9DkwBlMbu2IX5OQlk=";
|
2022-03-15 17:50:57 +00:00
|
|
|
};
|
|
|
|
|
2023-03-30 23:41:09 +00:00
|
|
|
vendorHash = "sha256-n31LUfdgbLQ/KmcFi8LdqmDHXgzbSCc+dnustGvc5SY=";
|
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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "gomi";
|
2022-03-15 17:50:57 +00:00
|
|
|
};
|
|
|
|
}
|