diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-18 13:54:01 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-18 13:54:01 +0200 |
commit | f3c99629ae26a6fc8963482f34cbd9178aee41b9 (patch) | |
tree | ea67230974c5c68f32ff081d4b7a34c5f9cc5261 /pkgs/tools/misc/coinlive | |
parent | 6e665c4e29613872fb48c4b645aed0c28fb93702 (diff) |
coinlive: init at 0.2.1
Diffstat (limited to 'pkgs/tools/misc/coinlive')
-rw-r--r-- | pkgs/tools/misc/coinlive/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/misc/coinlive/default.nix b/pkgs/tools/misc/coinlive/default.nix new file mode 100644 index 0000000000000..8841f1df6e3cc --- /dev/null +++ b/pkgs/tools/misc/coinlive/default.nix @@ -0,0 +1,35 @@ +{ lib +, fetchFromGitHub +, openssl +, pkg-config +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "coinlive"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "mayeranalytics"; + repo = pname; + rev = "v${version}"; + hash = "sha256-i21C1ZSAPoUOBlnDQl40/17yRqmNx3wkjswHJeV9vko="; + }; + + cargoSha256 = "sha256-0pUXCY5rZWh26KGD2OU2+M9L0RtCIan6hmuNeIeBEHI="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + ]; + + meta = with lib; { + description = "Live cryptocurrency prices CLI"; + homepage = "https://github.com/mayeranalytics/coinlive"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} |