nixpkgs-suyu/pkgs/applications/blockchains/cryptop/default.nix
matthewcroughan 71c47ca244 cryptop: add setuptools to fix crash
Without setuptools, cryptop crashes at runtime
2021-08-23 09:14:46 +01:00

23 lines
611 B
Nix

{ lib, buildPythonApplication, fetchPypi, requests, requests-cache, setuptools }:
buildPythonApplication rec {
pname = "cryptop";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb";
};
propagatedBuildInputs = [ setuptools 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 ];
};
}