uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 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
|
||||
|
||||
49
pkgs/development/python-modules/pydash/default.nix
Normal file
49
pkgs/development/python-modules/pydash/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, invoke
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, sphinx_rtd_theme
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydash";
|
||||
version = "5.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgilland";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BAyiSnILvujUOFOAkiXSgyozs2Q809pYihHwa+6BHcQ=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
invoke
|
||||
mock
|
||||
sphinx_rtd_theme
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" setup.cfg
|
||||
sed -i "/--no-cov/d" setup.cfg
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pydash"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Python utility libraries for doing stuff in a functional way";
|
||||
homepage = "https://pydash.readthedocs.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue