python3Packages.brother: 0.1.18 -> 0.2.0

This commit is contained in:
Martin Weinelt 2021-02-02 15:35:20 +01:00
parent a3a5310715
commit 4082a4e50c
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 10 additions and 2 deletions

View File

@ -4,16 +4,24 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "brother"; pname = "brother";
version = "0.1.18"; version = "0.2.0";
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 = "14fiwhgcgymgqsl9kcfb0597rcjxvdknhwbakpdf0xp2ph6cj266"; sha256 = "0d984apw73kzd6bid65bqhp26gvvgqjni56nqr0gnb2sv7mknnm8";
}; };
# pytest-error-for-skips is not packaged
postPatch = ''
substituteInPlace pytest.ini \
--replace " --error-for-skips" ""
substituteInPlace setup.py \
--replace "\"pytest-error-for-skips\"" ""
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
pysnmp pysnmp
]; ];