2017-05-19 04:21:28 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, dateutil, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bitcoin-price-api";
|
|
|
|
version = "0.0.4";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "bc68076f9632aaa9a8009d916d67a709c1e045dd904cfc7a3e8be33960d32029";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dateutil requests ];
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://github.com/dursk/bitcoin-price-api;
|
2017-05-19 04:21:28 +01:00
|
|
|
description = "Price APIs for bitcoin exchanges";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|