coinlive: init at 0.2.1

This commit is contained in:
Fabian Affolter 2022-08-18 13:54:01 +02:00
parent 6e665c4e29
commit f3c99629ae
2 changed files with 37 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };