2021-02-07 23:15:35 +01:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
|
2020-11-27 19:32:36 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tickrs";
|
2021-03-20 00:14:50 +01:00
|
|
|
version = "0.14.4";
|
2020-11-27 19:32:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarkah";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-20 00:14:50 +01:00
|
|
|
sha256 = "sha256-OOsBo+NCfn++2XyfQVoeEPcbSv645Ng7g9s4W7X2xg4=";
|
2020-11-27 19:32:36 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "sha256-HAkJKqoz4vrY4mGFSz6sylV6DdrjWvPfwb4BiLWEyKY=";
|
2020-11-27 19:32:36 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
|
2021-02-07 23:15:35 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-11-27 19:32:36 +01:00
|
|
|
description = "Realtime ticker data in your terminal";
|
|
|
|
homepage = "https://github.com/tarkah/tickrs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
|
|
};
|
|
|
|
}
|