1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "humanfriendly";
9 version = "10.0";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc";
15 };
16
17 # humanfriendly tests depends on coloredlogs which itself depends on
18 # humanfriendly. This lead to infinite recursion when trying to
19 # build this package so we have to disable the test suite :(
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Human friendly output for text interfaces using Python";
24 mainProgram = "humanfriendly";
25 homepage = "https://humanfriendly.readthedocs.io/";
26 license = licenses.mit;
27 maintainers = with maintainers; [ montag451 ];
28 };
29}