2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, future
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "monkeyhex";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.7.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "c121e734ccae8f1be6f1ecaf9100f3f8bde0a2dd03979b8ba42c474b1978806e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ future ];
|
|
|
|
|
|
|
|
# No tests in repo.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# Verify import still works.
|
|
|
|
pythonImportsCheck = [ "monkeyhex" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A small library to assist users of the python shell who work in contexts where printed numbers are more usefully viewed in hexadecimal";
|
|
|
|
homepage = "https://github.com/rhelmot/monkeyhex";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.pamplemousse ];
|
|
|
|
};
|
|
|
|
}
|