3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/tickrs/default.nix
2021-02-23 11:22:06 +00:00

27 lines
692 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
rustPlatform.buildRustPackage rec {
pname = "tickrs";
version = "0.13.1";
src = fetchFromGitHub {
owner = "tarkah";
repo = pname;
rev = "v${version}";
sha256 = "sha256-PGJztoGVIjUwx4x42LdpxJQMZH60x6JWY+yTHQgjHWM=";
};
cargoSha256 = "sha256-0NNdo28fLoqwKXBQ1fBTKPGE/zE7pnWnIjgCITsaGJc=";
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 ];
};
}