depot/third_party/nixpkgs/pkgs/applications/misc/tickrs/default.nix
Default email 8ec1fd4587 Project import generated by Copybara.
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
2021-03-15 09:37:03 +01:00

26 lines
692 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
rustPlatform.buildRustPackage rec {
pname = "tickrs";
version = "0.14.2";
src = fetchFromGitHub {
owner = "tarkah";
repo = pname;
rev = "v${version}";
sha256 = "sha256-8m4mIXTqc6rDMIjODbHJL7ipH5Y4WwgsWcSmw/SaiIo=";
};
cargoSha256 = "sha256-ZcRFQT2CxqpO35UqK79g2Jq5SPOLZ88WiG36issC5kY=";
nativeBuildInputs = [ perl ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "Realtime ticker data in your terminal";
homepage = "https://github.com/tarkah/tickrs";
license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}