scriv: fix tests by patching fixture (#467306)

This commit is contained in:
Aleksana
2025-12-03 03:03:35 +00:00
committed by GitHub
+9
View File
@@ -6,6 +6,7 @@
git,
scriv,
testers,
fetchpatch,
}:
python3.pkgs.buildPythonApplication rec {
@@ -18,6 +19,14 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-fBqL5jUdA2kuXnV4Te6g2PEbLJD5G+GLD7OjdVVbUl4=";
};
patches = [
# fix tests by removing deprecated Click parameter from fixture
(fetchpatch {
url = "https://github.com/nedbat/scriv/commit/04ac45da9e1adb24a95ad9643099fe537b3790fd.diff";
hash = "sha256-Gle3zWC/WypGHsKmVlqedRAZVWsBjGpzMq3uKuG9+SY=";
})
];
build-system = with python3.pkgs; [ setuptools ];
dependencies =