2021-03-19 21:11:32 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, mock, pytestCheckHook, invoke }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydash";
|
|
|
|
version = "4.9.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgilland";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-BAyiSnILvujUOFOAkiXSgyozs2Q809pYihHwa+6BHcQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./0001-Only-build-unit-tests.patch ];
|
|
|
|
|
|
|
|
checkInputs = [ mock pytestCheckHook invoke ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-03-19 23:25:50 +01:00
|
|
|
homepage = "https://github.com/dgilland/pydash";
|
2021-03-19 21:11:32 +01:00
|
|
|
description = "The kitchen sink of Python utility libraries for doing \"stuff\" in a functional way. Based on the Lo-Dash Javascript library.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|