33 lines
612 B
Nix
33 lines
612 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, attrs
|
|
, pendulum
|
|
, pprintpp
|
|
, wrapt
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tbm-utils";
|
|
version = "2.6.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "235748cceeb22c042e32d2fdfd4d710021bac9b938c4f2c35e1fce1cfd58f7ec";
|
|
};
|
|
|
|
propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ];
|
|
|
|
# No tests in archive.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "A commonly-used set of utilities";
|
|
homepage = "https://github.com/thebigmunch/tbm-utils";
|
|
license = with lib.licenses; [ mit ];
|
|
};
|
|
|
|
}
|