Merge pull request #122890 from fabaff/bump-brother

python3Packages.brother: 1.0.0 -> 1.0.1
This commit is contained in:
Fabian Affolter 2021-05-15 20:25:57 +02:00 committed by GitHub
commit 0416cb2787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,29 +5,29 @@
, pytest-asyncio , pytest-asyncio
, pytest-error-for-skips , pytest-error-for-skips
, pytest-runner , pytest-runner
, pytest-tornasync
, pytest-trio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "brother"; pname = "brother";
version = "1.0.0"; version = "1.0.1";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-0NfqPlQiOkNhR+H55E9LE4dGa9R8vcSyPNbbIeiRJV8="; sha256 = "sha256-Cfut6Y4Hln32g4V13xbOo5JdjPv2cH6FCDqvRRyijIA=";
}; };
nativeBuildInputs = [
pytest-runner
];
postPatch = '' postPatch = ''
substituteInPlace pytest.ini \ substituteInPlace setup.cfg \
--replace "--cov --cov-report term-missing " "" --replace "--cov --cov-report term-missing " ""
substituteInPlace requirements-test.txt \
--replace "pytest-cov" ""
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -37,9 +37,6 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest-asyncio pytest-asyncio
pytest-error-for-skips pytest-error-for-skips
pytest-runner
pytest-tornasync
pytest-trio
pytestCheckHook pytestCheckHook
]; ];