2021-02-13 14:23:35 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tickrs";
|
2021-02-17 17:02:09 +00:00
|
|
|
version = "0.11.0";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarkah";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-17 17:02:09 +00:00
|
|
|
sha256 = "sha256-Hx/9WW94rDAjlSZoUz5/43MQ6830OELLogRvHTbmWv0=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
cargoSha256 = "sha256-TYDNx1TNGcREaeHXaejTeMDEITTTUrHCrExZYa+MSHg=";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-30 08:33:03 +00:00
|
|
|
description = "Realtime ticker data in your terminal";
|
|
|
|
homepage = "https://github.com/tarkah/tickrs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
|
|
};
|
|
|
|
}
|