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

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

28 lines
780 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
2020-11-27 19:32:36 +01:00
rustPlatform.buildRustPackage rec {
pname = "tickrs";
2023-02-25 14:18:59 +01:00
version = "0.14.8";
2020-11-27 19:32:36 +01:00
src = fetchFromGitHub {
owner = "tarkah";
repo = pname;
2023-02-25 15:29:03 +01:00
rev = "refs/tags/v${version}";
hash = "sha256-8q/dL1Pv25TkL7PESybgIu+0lR0cr6qrK6ItE/r9pbI=";
2020-11-27 19:32:36 +01:00
};
2023-02-25 14:18:59 +01:00
cargoHash = "sha256-fOYxOiVpgflwIz9Z6ePhQKDa7DX4D/ZCnPOwq9vWOSk=";
2020-11-27 19:32:36 +01:00
nativeBuildInputs = [ perl ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
2020-11-27 19:32:36 +01:00
description = "Realtime ticker data in your terminal";
homepage = "https://github.com/tarkah/tickrs";
2023-02-25 15:29:03 +01:00
changelog = "https://github.com/tarkah/tickrs/blob/v${version}/CHANGELOG.md";
2020-11-27 19:32:36 +01:00
license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}