diff options
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/iamb/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/iamb/default.nix b/pkgs/applications/networking/instant-messengers/iamb/default.nix new file mode 100644 index 0000000000000..9e9101d27d2e6 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/iamb/default.nix @@ -0,0 +1,32 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, darwin +, stdenv +}: + +rustPlatform.buildRustPackage rec { + pname = "iamb"; + version = "0.0.7"; + + src = fetchFromGitHub { + owner = "ulyssa"; + repo = "iamb"; + rev = "v${version}"; + hash = "sha256-KKr7dfFSffkFgqcREy/3RIIn5c5IxhFR7CjFJqCmqdM="; + }; + + cargoHash = "sha256-/OBGRE9zualLnMh9Ikh9s9IE9b8mEmAC/H5KUids8a8="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + ]; + + meta = with lib; { + description = "A Matrix client for Vim addicts"; + homepage = "https://github.com/ulyssa/iamb"; + changelog = "https://github.com/ulyssa/iamb/releases/tag/${src.rev}"; + license = licenses.asl20; + maintainers = with maintainers; [ meain ]; + }; +} |