python3Packages.pydash: init at 4.9.3
This commit is contained in:
parent
733b33a07e
commit
eb4c782a6f
3 changed files with 56 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
From 2fe7a445bafedee2c43050e40697d8b0fd7f7b30 Mon Sep 17 00:00:00 2001
|
||||
From: Maximilian Bosch <maximilian@mbosch.me>
|
||||
Date: Fri, 19 Mar 2021 19:37:34 +0100
|
||||
Subject: [PATCH] Only build unit-tests
|
||||
|
||||
---
|
||||
setup.cfg | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index 2c2f49f..a5ec152 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -83,13 +83,6 @@ force_sort_within_sections = true
|
||||
junit_family = xunit2
|
||||
addopts =
|
||||
--verbose
|
||||
- --doctest-modules
|
||||
- --no-cov-on-fail
|
||||
- --cov-fail-under=100
|
||||
- --cov-report=term-missing
|
||||
- --cov-report=xml:build/coverage/coverage.xml
|
||||
- --cov-report=html:build/coverage
|
||||
- --junitxml=build/testresults/junit.xml
|
||||
|
||||
[coverage:run]
|
||||
omit =
|
||||
--
|
||||
2.29.3
|
||||
|
24
pkgs/development/python-modules/pydash/default.nix
Normal file
24
pkgs/development/python-modules/pydash/default.nix
Normal file
|
@ -0,0 +1,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://pypi.org/project/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 ];
|
||||
};
|
||||
}
|
|
@ -5583,6 +5583,8 @@ in {
|
|||
|
||||
pydantic = callPackage ../development/python-modules/pydantic { };
|
||||
|
||||
pydash = callPackage ../development/python-modules/pydash { };
|
||||
|
||||
pydbus = callPackage ../development/python-modules/pydbus { };
|
||||
|
||||
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
||||
|
|
Loading…
Reference in a new issue