9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
17 inherit pname version;
18 hash = "sha256-NPifyZJZLICzmnCeE27c9B6hfyS6Mer4SjFKAsi5vO8=";
26 # Deprecation warning using collections.abc, https://gitlab.com/ericvsmith/namedlist/-/merge_requests/1
28 url = "https://gitlab.com/ericvsmith/namedlist/-/commit/102d15b455e6f058b9c95fe135167be82b34c14a.patch";
29 hash = "sha256-IfDgiObFFSOUnAlXR/+ye8uutGaFJ/AyQvCb76iNaMM=";
33 # Test file has a `unittest.main()` at the bottom that fails the tests;
34 # py.test can run the tests without it.
36 substituteInPlace test/test_namedlist.py --replace "unittest.main()" ""
39 pythonImportsCheck = [
44 # AttributeError: module 'collections' has no attribute 'Container'
49 description = "Similar to namedtuple, but instances are mutable";
50 homepage = "https://gitlab.com/ericvsmith/namedlist";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ ivan ];