biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / rates / default.nix
blobc774721eeeccedc947b99ea2ade32c6a3e67cdad
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , rustPlatform
5 , Security
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "rates";
10   version = "0.7.0";
12   src = fetchFromGitHub {
13     owner = "lunush";
14     repo = pname;
15     rev = version;
16     sha256 = "sha256-zw2YLTrvqbGKR8Dg5W+kJTDKIfro+MNyjHXfZMXZhaw=";
17   };
19   cargoHash = "sha256-5EcTeMfa1GNp1q60qSgEi/I3298hXUD1Vc1K55XGW4I=";
21   buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
23   meta = with lib; {
24     description = "CLI tool that brings currency exchange rates right into your terminal";
25     homepage = "https://github.com/lunush/rates";
26     license = with licenses; [ asl20 /* or */ mit ];
27     maintainers = with maintainers; [ fab ];
28     mainProgram = "rates";
29   };