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