mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
27 lines
692 B
Nix
27 lines
692 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tickrs";
|
|
version = "0.14.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tarkah";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FbbxkAP1RQVYL91mlAw0PcEWUDxgCrCd9QjLPE+bqmo=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-94U84/UxHAf5yrCnqpxjwHi/ekFHbFBs9b7pBewKvjw=";
|
|
|
|
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 ];
|
|
};
|
|
}
|