Merge pull request #187271 from fabaff/coinlive
coinlive: init at 0.2.1
This commit is contained in:
commit
1db4cd477d
35
pkgs/tools/misc/coinlive/default.nix
Normal file
35
pkgs/tools/misc/coinlive/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue