summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydash/default.nix
blob: 7d75896397f3f7f6afa410933643e866cb469ee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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; {
    homepage = "https://github.com/dgilland/pydash";
    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 ];
  };
}