nixpkgs/pkgs/development/python-modules/inform/default.nix

53 lines
1.0 KiB
Nix
Raw Normal View History

2022-12-30 19:13:19 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
2020-10-20 00:30:15 +00:00
, arrow
, six
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "inform";
2022-12-30 19:13:19 +00:00
version = "1.27";
format = "pyproject";
2020-10-20 00:30:15 +00:00
src = fetchFromGitHub {
owner = "KenKundert";
repo = "inform";
2022-12-30 19:13:19 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-SvE+UAGpUomUBHlH4aYZ1BYmLp3BherRjosKsIaOA/s=";
2020-10-20 00:30:15 +00:00
};
2022-12-30 19:13:19 +00:00
nativeBuildInputs = [
flit-core
];
2022-12-30 19:13:19 +00:00
propagatedBuildInputs = [
arrow
six
];
2020-10-20 00:30:15 +00:00
nativeCheckInputs = [
2022-12-30 19:13:19 +00:00
pytestCheckHook
hypothesis
];
disabledTests = [
"test_prostrate"
];
2020-10-20 00:30:15 +00:00
meta = with lib; {
description = "Print and logging utilities";
longDescription = ''
Inform is designed to display messages from programs that are typically
run from a console. It provides a collection of print functions that
allow you to simply and cleanly print different types of messages.
'';
homepage = "https://inform.readthedocs.io";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jeremyschlatter ];
};
}