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