1{ lib, buildPythonPackage, fetchFromGitHub, mock, pytestCheckHook, invoke }: 2 3buildPythonPackage rec { 4 pname = "pydash"; 5 version = "4.9.3"; 6 7 src = fetchFromGitHub { 8 owner = "dgilland"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-BAyiSnILvujUOFOAkiXSgyozs2Q809pYihHwa+6BHcQ="; 12 }; 13 14 patches = [ ./0001-Only-build-unit-tests.patch ]; 15 16 checkInputs = [ mock pytestCheckHook invoke ]; 17 18 meta = with lib; { 19 homepage = "https://github.com/dgilland/pydash"; 20 description = "The kitchen sink of Python utility libraries for doing \"stuff\" in a functional way. Based on the Lo-Dash Javascript library."; 21 license = licenses.mit; 22 maintainers = with maintainers; [ ma27 ]; 23 }; 24}