Merge pull request #25949 from bhipple/init/python-bitcoin-price-api

pythonPackages.bitcoin-price-api: init at 0.0.4
This commit is contained in:
Jörg Thalheim 2017-05-21 09:01:49 +01:00 committed by GitHub
commit 50e8199930
3 changed files with 28 additions and 0 deletions

View File

@ -71,6 +71,7 @@
benwbooth = "Ben Booth <benwbooth@gmail.com>";
berdario = "Dario Bertini <berdario@gmail.com>";
bergey = "Daniel Bergey <bergey@teallabs.org>";
bhipple = "Benjamin Hipple <bhipple@protonmail.com>";
bjg = "Brian Gough <bjg@gnu.org>";
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";

View File

@ -0,0 +1,25 @@
{ 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 = {
homepage = "http://github.com/dursk/bitcoin-price-api";
description = "Price APIs for bitcoin exchanges";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ bhipple ];
};
}

View File

@ -153,6 +153,8 @@ in {
bap = pkgs.ocamlPackages_4_02.bap;
};
bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };
blivet = callPackage ../development/python-modules/blivet { };
breathe = callPackage ../development/python-modules/breathe { };