zabbix-cli: fix build
See * https://github.com/unioslo/zabbix-cli/pull/333 * https://github.com/unioslo/zabbix-cli/issues/332
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
python3Packages,
|
||||
testers,
|
||||
zabbix-cli,
|
||||
@@ -19,6 +20,15 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
hash = "sha256-Y4IR/le+7X3MYmrVnZMr+Gu59LkCB5UfMJ2s9ovSjLM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix MarkupMode import with Typer >= 0.20.1
|
||||
# https://github.com/unioslo/zabbix-cli/pull/333
|
||||
(fetchpatch {
|
||||
url = "https://github.com/unioslo/zabbix-cli/commit/b68f672f557ccb06fef3fd5a2d724633f1eb3c68.patch";
|
||||
hash = "sha256-wc59c28aT8IsI4nvEH+CxfdvPAsN2R1uoLgN8tx+mBE=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = with python3Packages; [
|
||||
hatchling
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user