Merge pull request #262380 from mweinelt/wled-0.17.0
python311Packages.wled: 0.16.0 -> 0.17.0
This commit is contained in:
commit
1e10dff0ef
@ -15,18 +15,25 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wled";
|
pname = "wled";
|
||||||
version = "0.16.0";
|
version = "0.17.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "frenck";
|
owner = "frenck";
|
||||||
repo = "python-wled";
|
repo = "python-wled";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-esINtvctvgl8AqNwCDVnGU+3j/UzEHqY8H1Rws1kQfs=";
|
hash = "sha256-y32zynkVsn5vWw+BZ6ZRf9zemGOWJMN4yfNQZ0bRpos=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace "0.0.0" "${version}" \
|
||||||
|
--replace "--cov" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
@ -45,13 +52,6 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace "0.0.0" "${version}" \
|
|
||||||
--replace "--cov" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"wled"
|
"wled"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user