19 buildPythonPackage rec {
21 version = "2024.7.29";
24 disabled = pythonOlder "3.9";
26 src = fetchFromGitHub {
27 owner = "materialsvirtuallab";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-ydt1T2agKUCBiMZ4uvQ3qshEiAQ0PP9EjPiWDXgH3Wo=";
34 substituteInPlace tests/test_os.py \
35 --replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
43 propagatedBuildInputs = [
58 pythonImportsCheck = [ "monty" ];
61 # Test file was removed and re-added after 2022.9.9
62 "test_reverse_readfile_gz"
66 # flaky, precision/rounding error
67 "TestJson.test_datetime"
71 description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
73 Monty implements supplementary useful functions for Python that are not part of the
74 standard library. Examples include useful utilities like transparent support for zipped files, useful design
75 patterns such as singleton and cached_class, and many more.
77 homepage = "https://github.com/materialsvirtuallab/monty";
78 changelog = "https://github.com/materialsvirtuallab/monty/releases/tag/v${version}";
79 license = licenses.mit;
80 maintainers = with maintainers; [ psyanticy ];