diff options
author | legendofmiracles <legendofmiracles@protonmail.com> | 2021-11-08 12:07:55 -0600 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-11-09 22:23:55 -0800 |
commit | 33c50db65d0590755db7c48786ba387e55a6a045 (patch) | |
tree | d21a6614ef08f8c44dc01b272d6e731a3ac8313a /pkgs/misc/cliscord | |
parent | edc5b763a1dee35172c24ee3487a05f01380cc22 (diff) |
cliscord: init at unstable-2020-12-08
Diffstat (limited to 'pkgs/misc/cliscord')
-rw-r--r-- | pkgs/misc/cliscord/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/misc/cliscord/default.nix b/pkgs/misc/cliscord/default.nix new file mode 100644 index 0000000000000..7307fc6070095 --- /dev/null +++ b/pkgs/misc/cliscord/default.nix @@ -0,0 +1,27 @@ +{ lib, rustPlatform, openssl, pkg-config, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cliscord"; + version = "unstable-2020-12-08"; + + src = fetchFromGitHub { + owner = "somebody1234"; + repo = pname; + rev = "b02fbe5516fd7f153d0b0e3c7d5d11e2ab651b43"; + sha256 = "sha256-hzZozgOkw8kFppuHiX9TQxHhxKRv8utWWbhEOIzKDLo="; + }; + + buildInputs = [ openssl ]; + + nativeBuildInputs = [ pkg-config ]; + + cargoSha256 = "12zfwdssyv0j83bff6s4376d99pv7z8ya8q8adwmf5ayvgmj4xz4"; + + meta = with lib; { + description = "Simple command-line tool to send text and files to discord"; + homepage = "https://github.com/somebody1234/cliscord"; + license = licenses.mit; + maintainers = with maintainers; [ legendofmiracles ]; + mainProgram = "cliscord"; + }; +} |