diff --git a/pkgs/tools/misc/coinlive/default.nix b/pkgs/tools/misc/coinlive/default.nix new file mode 100644 index 000000000000..8841f1df6e3c --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 78c71be382f8..453c52db0f24 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17487,6 +17487,8 @@ with pkgs; CoinMP = callPackage ../development/libraries/CoinMP { }; + coinlive = callPackage ../tools/misc/coinlive { }; + cointop = callPackage ../applications/misc/cointop { }; collada-dom = callPackage ../development/libraries/collada-dom { };