diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-17 18:02:11 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-17 18:02:11 +0200 |
commit | 216d735fad15c1a8b29bc6f2b8b763cded2aa2aa (patch) | |
tree | 3126f66c3de6f6dffede9320e1b49a0643f9db8f /pkgs/tools/misc/rates | |
parent | cb10e4ddf6d58987e2b2eb41b827984af27ee98e (diff) |
rates: init at 0.5.0
Diffstat (limited to 'pkgs/tools/misc/rates')
-rw-r--r-- | pkgs/tools/misc/rates/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rates/default.nix b/pkgs/tools/misc/rates/default.nix new file mode 100644 index 0000000000000..989a9e6734aca --- /dev/null +++ b/pkgs/tools/misc/rates/default.nix @@ -0,0 +1,25 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "rates"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "lunush"; + repo = pname; + rev = version; + sha256 = "077qxs4kwfprsai07dninkhmj3ihnghdxan98iv8gmsl3pijbgwh"; + }; + + cargoSha256 = "041sskiq152iywwqd8p7aqsqzbj359zl7ilnp8ahzdqprz3slk1w"; + + meta = with lib; { + description = "CLI tool that brings currency exchange rates right into your terminal"; + homepage = "https://github.com/lunush/rates"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |