diff --git a/pkgs/tools/text/huniq/default.nix b/pkgs/tools/text/huniq/default.nix new file mode 100644 index 000000000000..a1d30d2fb11d --- /dev/null +++ b/pkgs/tools/text/huniq/default.nix @@ -0,0 +1,20 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "huniq"; + version = "2.7.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-5GvHM05qY/Jj1mPYwn88Zybn6Nn5nJIaw0XP8iCcrwE="; + }; + + cargoSha256 = "sha256-pwDaLHJbVpZe7dAtd5/ytyHZkUHjCcNjtw3q7HF1qVQ="; + + meta = with lib; { + description = "Command line utility to remove duplicates from the given input"; + homepage = "https://github.com/koraa/huniq"; + license = licenses.bsd3; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a47449477019..8c2b2398634c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4127,6 +4127,8 @@ with pkgs; humioctl = callPackage ../applications/logging/humioctl {}; + huniq = callPackage ../tools/text/huniq { }; + hyprland = callPackage ../applications/window-managers/hyprland { wlroots = wlroots.overrideAttrs (_: { version = "unstable-2022-06-07";