python3Packages.wakeonlan: 2.0.0 -> 2.0.1
This commit is contained in:
parent
0062afc050
commit
c7557da36c
1 changed files with 2 additions and 12 deletions
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -9,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wakeonlan";
|
pname = "wakeonlan";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
@ -17,7 +16,7 @@ buildPythonPackage rec {
|
||||||
owner = "remcohaszing";
|
owner = "remcohaszing";
|
||||||
repo = "pywakeonlan";
|
repo = "pywakeonlan";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0p9jyiv0adcymbnmbay72g9phlbhsr4kmrwxscbdjq81gcmxsi0y";
|
sha256 = "sha256-WgoL8ntfEaHcvVbJjdewe0wE31Lq7WBj8Bppeq1uJx8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,15 +27,6 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Switch to poetry-core, https://github.com/remcohaszing/pywakeonlan/pull/19
|
|
||||||
(fetchpatch {
|
|
||||||
name = "switch-to-poetry-core.patch";
|
|
||||||
url = "https://github.com/remcohaszing/pywakeonlan/commit/6aa5050ed94ef718dfcd0b946546b6a738f47ee3.patch";
|
|
||||||
sha256 = "1xzj2464ziwm7bp05bzbjwjp9whmgp1py3isr41d92qvnil86vm6";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
pytestFlagsArray = [ "test_wakeonlan.py" ];
|
pytestFlagsArray = [ "test_wakeonlan.py" ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "wakeonlan" ];
|
pythonImportsCheck = [ "wakeonlan" ];
|
||||||
|
|
Loading…
Reference in a new issue