about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/cryptop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/cryptop/default.nix')
-rw-r--r--pkgs/applications/blockchains/cryptop/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/cryptop/default.nix b/pkgs/applications/blockchains/cryptop/default.nix
new file mode 100644
index 0000000000000..01c47b320de58
--- /dev/null
+++ b/pkgs/applications/blockchains/cryptop/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildPythonApplication, fetchPypi, requests, requests-cache }:
+
+buildPythonApplication rec {
+  pname = "cryptop";
+  version = "0.2.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb";
+  };
+
+  propagatedBuildInputs = [ requests requests-cache ];
+
+  # No tests in archive
+  doCheck = false;
+
+  meta = {
+    homepage = https://github.com/huwwp/cryptop;
+    description = "Command line Cryptocurrency Portfolio";
+    license = with lib.licenses; [ mit ];
+    maintainers = with lib.maintainers; [ bhipple ];
+  };
+}