3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #187271 from fabaff/coinlive

coinlive: init at 0.2.1
This commit is contained in:
Fabian Affolter 2022-08-19 10:52:33 +02:00 committed by GitHub
commit 1db4cd477d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -17494,6 +17494,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 { };