2021-01-25 08:26:54 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, perl }:
|
2020-11-27 18:32:36 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tickrs";
|
2021-02-06 22:04:30 +00:00
|
|
|
version = "0.9.0";
|
2020-11-27 18:32:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarkah";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-06 22:04:30 +00:00
|
|
|
sha256 = "sha256-FCELPt7aBKD+mf5w9HuJqKPw64qBLgdbLIfGZEB19OI=";
|
2020-11-27 18:32:36 +00:00
|
|
|
};
|
|
|
|
|
2021-02-06 22:04:30 +00:00
|
|
|
cargoSha256 = "sha256-GsK0T9BfIqr0N4wxIhvvTmNEC6I2j3XPeAJMJjRiZKU=";
|
2020-11-27 18:32:36 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-27 18:32:36 +00:00
|
|
|
description = "Realtime ticker data in your terminal";
|
|
|
|
homepage = "https://github.com/tarkah/tickrs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
|
|
};
|
|
|
|
}
|