python3.pkgs.panflute: fix build

This commit is contained in:
Yureka 2021-09-20 16:55:13 +02:00 committed by Yuka
parent 70a118841c
commit 1bb9a3e44a

View file

@ -4,6 +4,7 @@
, pyyaml
, buildPythonPackage
, isPy3k
, fetchpatch
}:
buildPythonPackage rec{
@ -16,6 +17,14 @@ buildPythonPackage rec{
inherit pname version;
sha256 = "8a3d5dd2a10c3aa6fa8167713fedb47400f0e8ae6ea8346fd4b599842bb1882d";
};
patches = [
# Upstream has relaxed the version constaints for the click dependency
# but there hasn't been a release since then
(fetchpatch {
url = "https://github.com/sergiocorreia/panflute/commit/dee6c716a73072a968d67f8638a61de44025d8de.patch";
sha256 = "sha256-Kj/NTcXsSkevpfr8OwoIQi0p6ChXDM6YgYDPNHJtJZo=";
})
];
propagatedBuildInputs = [ click pyyaml ];