2017-12-09 19:54:27 +00:00
|
|
|
{ lib, python3 }:
|
2017-07-30 18:38:42 +00:00
|
|
|
|
2017-12-09 19:54:27 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2017-07-30 18:38:42 +00:00
|
|
|
pname = "cryptop";
|
2017-12-09 19:54:27 +00:00
|
|
|
version = "0.2.0";
|
2017-07-30 18:38:42 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2017-12-09 19:54:27 +00:00
|
|
|
src = python3.pkgs.fetchPypi {
|
2017-07-30 18:38:42 +00:00
|
|
|
inherit pname version;
|
2017-12-09 19:54:27 +00:00
|
|
|
sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb";
|
2017-07-30 18:38:42 +00:00
|
|
|
};
|
|
|
|
|
2017-12-09 19:54:27 +00:00
|
|
|
propagatedBuildInputs = [ python3.pkgs.requests python3.pkgs.requests-cache ];
|
2017-07-30 18:38:42 +00:00
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2017-08-17 21:51:32 +00:00
|
|
|
homepage = https://github.com/huwwp/cryptop;
|
2017-07-30 18:38:42 +00:00
|
|
|
description = "Command line Cryptocurrency Portfolio";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|