Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / inform / default.nix
bloba95e9e9cc8e8c1bed7e014c5b5cb0f9c5cc063fd
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , arrow
6 , six
7 , hypothesis
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "inform";
14   version = "1.28";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "KenKundert";
21     repo = "inform";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-RA8/or3HTS/rQmG4A/Eg5j24YElaTEpnHa1yksARVMQ=";
24   };
26   nativeBuildInputs = [
27     flit-core
28   ];
30   propagatedBuildInputs = [
31     arrow
32     six
33   ];
35   nativeCheckInputs = [
36     pytestCheckHook
37     hypothesis
38   ];
40   disabledTests = [
41     "test_prostrate"
42   ];
44   meta = with lib; {
45     description = "Print and logging utilities";
46     longDescription = ''
47       Inform is designed to display messages from programs that are typically
48       run from a console. It provides a collection of â€˜print’ functions that
49       allow you to simply and cleanly print different types of messages.
50     '';
51     homepage = "https://inform.readthedocs.io";
52     changelog = "https://github.com/KenKundert/inform/blob/v${version}/doc/releases.rst";
53     license = licenses.gpl3Only;
54     maintainers = with maintainers; [ jeremyschlatter ];
55   };