cliscord: unstable-2020-12-08 -> unstable-2022-10-07

This commit is contained in:
Theodore Ni 2022-10-06 14:58:39 -07:00
parent 60a141cbcf
commit bccd2d144f
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -1,21 +1,29 @@
{ lib, stdenv, rustPlatform, openssl, pkg-config, fetchFromGitHub, Security }:
{ lib
, stdenv
, rustPlatform
, openssl
, pkg-config
, fetchFromGitHub
, fetchpatch
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "cliscord";
version = "unstable-2020-12-08";
version = "unstable-2022-10-07";
src = fetchFromGitHub {
owner = "somebody1234";
repo = pname;
rev = "b02fbe5516fd7f153d0b0e3c7d5d11e2ab651b43";
sha256 = "sha256-hzZozgOkw8kFppuHiX9TQxHhxKRv8utWWbhEOIzKDLo=";
rev = "d62317d55c07ece8c9d042dcd74b62e58c9bfaeb";
hash = "sha256-dmR49yyErahOUxR9pGW1oYy8Wq5SWOprK317u+JPBv4=";
};
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config ];
cargoSha256 = "12zfwdssyv0j83bff6s4376d99pv7z8ya8q8adwmf5ayvgmj4xz4";
cargoHash = "sha256-Z8ras6W4BnAWjHe6rPd1X1d3US5gq7CxnBAkW//OTsg=";
meta = with lib; {
description = "Simple command-line tool to send text and files to discord";