2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "humanfriendly";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "10.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# humanfriendly tests depends on coloredlogs which itself depends on
|
|
|
|
# humanfriendly. This lead to infinite recursion when trying to
|
|
|
|
# build this package so we have to disable the test suite :(
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Human friendly output for text interfaces using Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "humanfriendly";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://humanfriendly.readthedocs.io/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ montag451 ];
|
|
|
|
};
|
|
|
|
}
|