From 07f66fde013b1a392707ac4adeb36f4dab498e8c Mon Sep 17 00:00:00 2001 From: Berk Ozkutuk Date: Tue, 15 Mar 2022 20:50:57 +0300 Subject: [PATCH] gomi: init at 1.1.1 --- pkgs/tools/misc/gomi/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/misc/gomi/default.nix diff --git a/pkgs/tools/misc/gomi/default.nix b/pkgs/tools/misc/gomi/default.nix new file mode 100644 index 000000000000..e205216057fa --- /dev/null +++ b/pkgs/tools/misc/gomi/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "gomi"; + version = "1.1.1"; + + src = fetchFromGitHub { + owner = "b4b4r07"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-zLHP6PI2YeW1Fn6OPuMaiAPHOdudfKO4YP3XTh9HXNc="; + }; + + vendorSha256 = "sha256-7Qy7Akp/yP+XbxVQhQuUd1FZ504A3a2BLbHI3eglIqk="; + + subPackages = [ "." ]; + + meta = with lib; { + description = "Replacement for UNIX rm command"; + homepage = "https://github.com/b4b4r07/gomi"; + license = licenses.mit; + maintainers = with maintainers; [ ozkutuk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e30157ec9781..fd8fc160ced7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -538,6 +538,8 @@ with pkgs; global-platform-pro = callPackage ../development/tools/global-platform-pro { }; + gomi = callPackage ../tools/misc/gomi { }; + graph-easy = callPackage ../tools/graphics/graph-easy { }; packer = callPackage ../development/tools/packer { };