2019-10-27 14:53:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, attrs
|
|
|
|
, pendulum
|
|
|
|
, pprintpp
|
|
|
|
, wrapt
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tbm-utils";
|
2020-05-09 10:02:02 +00:00
|
|
|
version = "2.5.1";
|
2020-04-02 07:24:23 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2019-10-27 14:53:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 10:02:02 +00:00
|
|
|
sha256 = "5909852f8ce350631cdaaecaf0aee45569148d22bd429360a1c92a203ba5706b";
|
2019-10-27 14:53:49 +00:00
|
|
|
};
|
|
|
|
|
2020-04-02 07:24:23 +00:00
|
|
|
propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ];
|
2019-10-27 14:53:49 +00:00
|
|
|
|
|
|
|
# No tests in archive.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A commonly-used set of utilities";
|
2020-04-02 07:24:23 +00:00
|
|
|
homepage = "https://github.com/thebigmunch/tbm-utils";
|
|
|
|
license = with lib.licenses; [ mit ];
|
2019-10-27 14:53:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|