at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 invoke, 6 mock, 7 pytest7CheckHook, 8 pytest-cov-stub, 9 pythonOlder, 10 setuptools, 11 sphinx-rtd-theme, 12 typing-extensions, 13}: 14 15buildPythonPackage rec { 16 pname = "pydash"; 17 version = "8.0.5"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "dgilland"; 24 repo = "pydash"; 25 tag = "v${version}"; 26 hash = "sha256-u8vLE0kjsnV2HNt3N3kmnaabgQzW3FcH4qxycNdv1Ls="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ typing-extensions ]; 32 33 nativeCheckInputs = [ 34 invoke 35 mock 36 pytest7CheckHook 37 pytest-cov-stub 38 sphinx-rtd-theme 39 ]; 40 41 pythonImportsCheck = [ "pydash" ]; 42 43 disabledTestPaths = [ 44 # Disable mypy testing 45 "tests/pytest_mypy_testing/" 46 ]; 47 48 meta = with lib; { 49 description = "Python utility libraries for doing stuff in a functional way"; 50 homepage = "https://pydash.readthedocs.io"; 51 changelog = "https://github.com/dgilland/pydash/blob/v${version}/CHANGELOG.rst"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ ]; 54 }; 55}