ttaenc: init at 3.4.1 (#238757)
[NixPkgs.git] / pkgs / development / python-modules / pydash / default.nix
bloba385b6f431305b04111d41dae103833a76c8e37f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   invoke,
6   mock,
7   pytest7CheckHook,
8   pythonOlder,
9   setuptools,
10   sphinx-rtd-theme,
11   typing-extensions,
14 buildPythonPackage rec {
15   pname = "pydash";
16   version = "8.0.1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "dgilland";
23     repo = "pydash";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-4zNljz0U/iQd2DMC43qkdOY/mwtPlizgLmoaB7BVmxw=";
26   };
28   postPatch = ''
29     sed -i "/--cov/d" pyproject.toml
30     sed -i "/--no-cov/d" pyproject.toml
31   '';
33   build-system = [ setuptools ];
35   dependencies = [ typing-extensions ];
37   nativeCheckInputs = [
38     invoke
39     mock
40     pytest7CheckHook
41     sphinx-rtd-theme
42   ];
44   pythonImportsCheck = [ "pydash" ];
46   disabledTestPaths = [
47     # Disable mypy testing
48     "tests/pytest_mypy_testing/"
49   ];
51   meta = with lib; {
52     description = "Python utility libraries for doing stuff in a functional way";
53     homepage = "https://pydash.readthedocs.io";
54     changelog = "https://github.com/dgilland/pydash/blob/v${version}/CHANGELOG.rst";
55     license = licenses.mit;
56     maintainers = with maintainers; [ ma27 ];
57   };