nixpkgs/pkgs/applications/misc/tickrs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
692 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
2020-11-27 18:32:36 +00:00
rustPlatform.buildRustPackage rec {
pname = "tickrs";
2022-08-17 22:34:06 +00:00
version = "0.14.6";
2020-11-27 18:32:36 +00:00
src = fetchFromGitHub {
owner = "tarkah";
repo = pname;
rev = "v${version}";
2022-08-17 22:34:06 +00:00
sha256 = "sha256-tsPCx/4ap2udfZHRK5ebxRYEBYw2W6EgnDI6P3riV04=";
2020-11-27 18:32:36 +00:00
};
2022-08-17 22:34:06 +00:00
cargoSha256 = "sha256-xpUI8IflLqBrwsU5YccGzQlPUJT46GJa5AdsIv9qfjU=";
2020-11-27 18:32:36 +00:00
nativeBuildInputs = [ perl ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
2020-11-27 18:32:36 +00:00
description = "Realtime ticker data in your terminal";
homepage = "https://github.com/tarkah/tickrs";
license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}