diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/huniq/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/huniq/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/huniq/default.nix b/nixpkgs/pkgs/tools/text/huniq/default.nix new file mode 100644 index 000000000000..a1d30d2fb11d --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |