16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
24 owner = "materialsvirtuallab";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-VzOu0gLQcobWQs8uMFzI4CyN+1OVx94VqhJYB+rMpMI=";
31 substituteInPlace tests/test_os.py \
32 --replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
35 propagatedBuildInputs = [
50 pythonImportsCheck = [
55 # Test file was removed and re-added after 2022.9.9
56 "test_reverse_readfile_gz"
63 description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
65 Monty implements supplementary useful functions for Python that are not part of the
66 standard library. Examples include useful utilities like transparent support for zipped files, useful design
67 patterns such as singleton and cached_class, and many more.
69 homepage = "https://github.com/materialsvirtuallab/monty";
70 changelog = "https://github.com/materialsvirtuallab/monty/releases/tag/v${version}";
71 license = licenses.mit;
72 maintainers = with maintainers; [ psyanticy ];