Merge pull request #112855 from SuperSandro2000/fix-collection10
This commit is contained in:
@@ -26,6 +26,9 @@ buildPythonPackage rec {
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}"
|
||||
'';
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Board and connector definitions for nMigen";
|
||||
homepage = "https://github.com/nmigen/nmigen-boards";
|
||||
|
||||
@@ -35,6 +35,9 @@ buildPythonPackage {
|
||||
--replace "ctypes.util.find_library('exempi')" "'${exempi}/lib/libexempi${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||
'';
|
||||
|
||||
# hangs on darwin + sandbox
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/python-xmp-toolkit/python-xmp-toolkit";
|
||||
description = "Python XMP Toolkit for working with metadata";
|
||||
|
||||
@@ -15,10 +15,12 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the Transmission bittorent client RPC protocol";
|
||||
homepage = "https://pypi.python.org/pypi/transmissionrpc/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -3,16 +3,11 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, substituteAll
|
||||
, pkgs
|
||||
, argcomplete
|
||||
, pyyaml
|
||||
, xmltodict
|
||||
# Test inputs
|
||||
, coverage
|
||||
, flake8
|
||||
, jq
|
||||
, pytest
|
||||
, toml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -27,12 +22,13 @@ buildPythonPackage rec {
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./jq-path.patch;
|
||||
jq = "${lib.getBin pkgs.jq}/bin/jq";
|
||||
jq = "${lib.getBin jq}/bin/jq";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test/test.py --replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
|
||||
substituteInPlace test/test.py \
|
||||
--replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -41,16 +37,11 @@ buildPythonPackage rec {
|
||||
argcomplete
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
coverage
|
||||
flake8
|
||||
toml
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = "pytest ./test/test.py";
|
||||
pytestFlagsArray = [ "test/test.py" ];
|
||||
|
||||
pythonImportsCheck = [ "yq" ];
|
||||
|
||||
@@ -59,7 +50,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Command-line YAML processor - jq wrapper for YAML documents";
|
||||
homepage = "https://github.com/kislyuk/yq";
|
||||
license = [ licenses.asl20 ];
|
||||
maintainers = [ maintainers.womfoo ];
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ womfoo SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user