504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
23 lines
678 B
Nix
23 lines
678 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "crypto-tracker";
|
|
version = "0.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Nox04";
|
|
repo = "crypto-tracker";
|
|
rev = "v${version}";
|
|
hash = "sha256-8tTaXpHZWcDq0Jfa9Hf258VYwfimLhYjCAzD4X/Ow0s=";
|
|
};
|
|
|
|
vendorHash = "sha256-ORdDrZ61u76mz2oZyxfdf7iuo9SnuQeDxESt9lORhgQ=";
|
|
|
|
meta = with lib; {
|
|
description = "Program to retrieve the latest price for several cryptocurrencies using the CoinMarketCap API";
|
|
homepage = "https://github.com/Nox04/crypto-tracker";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ tiredofit ];
|
|
mainProgram = "crypto-tracker";
|
|
};
|
|
}
|