mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
Merge pull request #118299 from fabaff/bump-aioasuswrt
python3Packages.aioasuswrt: 1.3.2 -> 1.3.3
This commit is contained in:
commit
87f82391a0
@ -2,7 +2,6 @@
|
||||
, asyncssh
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
@ -10,24 +9,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioasuswrt";
|
||||
version = "1.3.2";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kennedyshead";
|
||||
repo = pname;
|
||||
rev = "V${version}";
|
||||
sha256 = "0bzl11224vny4p9vhi1n5s9p04kfavdzs9xkq5qimbisz9sg4ysj";
|
||||
sha256 = "1h1qwc7szgrcwiz4q6x4mlf26is20lj1ds5rcb9i611j26656v6d";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Remove pytest-runner, https://github.com/kennedyshead/aioasuswrt/pull/63
|
||||
url = "https://github.com/kennedyshead/aioasuswrt/pull/63/commits/e7923927648d5d8daccac1716db86db2a45fcb34.patch";
|
||||
sha256 = "09xzs3hjr3133li6b7lr58n090r00kaxi9hx1fms2zn0ai4xwp9d";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "cryptography==3.3.2" "cryptography"
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov-report html" "" \
|
||||
--replace "--cov-report term-missing" ""
|
||||
|
Loading…
Reference in New Issue
Block a user