10 rustPlatform.buildRustPackage rec {
12 version = "unstable-2022-10-07";
14 src = fetchFromGitHub {
15 owner = "somebody1234";
17 rev = "d62317d55c07ece8c9d042dcd74b62e58c9bfaeb";
18 hash = "sha256-dmR49yyErahOUxR9pGW1oYy8Wq5SWOprK317u+JPBv4=";
21 buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
23 nativeBuildInputs = [ pkg-config ];
25 cargoHash = "sha256-Z8ras6W4BnAWjHe6rPd1X1d3US5gq7CxnBAkW//OTsg=";
28 description = "Simple command-line tool to send text and files to discord";
29 homepage = "https://github.com/somebody1234/cliscord";
30 license = licenses.mit;
31 maintainers = with maintainers; [ lom ];
32 mainProgram = "cliscord";