forked from mirrors/nixpkgs
ef6e39fced
Upgrade to new version. According to the upstream documentation, this project is only tested on python3, so I've upgraded the pkg's interpreter as well. Tested with nix-build and ./result/bin/cryptop
25 lines
618 B
Nix
25 lines
618 B
Nix
{ lib, python3 }:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "cryptop";
|
|
version = "0.2.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb";
|
|
};
|
|
|
|
propagatedBuildInputs = [ python3.pkgs.requests python3.pkgs.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 ];
|
|
};
|
|
}
|