nixpkgs/pkgs/applications/misc/tickrs/default.nix
2021-02-06 22:04:30 +00:00

25 lines
612 B
Nix

{ lib, rustPlatform, fetchFromGitHub, perl }:
rustPlatform.buildRustPackage rec {
pname = "tickrs";
version = "0.9.0";
src = fetchFromGitHub {
owner = "tarkah";
repo = pname;
rev = "v${version}";
sha256 = "sha256-FCELPt7aBKD+mf5w9HuJqKPw64qBLgdbLIfGZEB19OI=";
};
cargoSha256 = "sha256-GsK0T9BfIqr0N4wxIhvvTmNEC6I2j3XPeAJMJjRiZKU=";
nativeBuildInputs = [ perl ];
meta = with lib; {
description = "Realtime ticker data in your terminal";
homepage = "https://github.com/tarkah/tickrs";
license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}