3
0
Fork 0
forked from mirrors/nixpkgs

apkg: fix build regression, temporarily at least

This commit is contained in:
Vladimír Čunát 2023-03-09 20:20:12 +01:00
parent f47be50f2f
commit 510680e5e8
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -14,6 +14,17 @@ python3Packages.buildPythonApplication rec {
sha256 = "duZz2Kwjgek5pMJTDH8gMZAZ13uFwaIYT5E1brW7I7U=";
};
# TODO: solve this properly. Detection won't work anymore.
postPatch = ''
patch <<-EOF
--- a/setup.py
+++ b/setup.py
@@ -25,1 +25,1 @@
- version=version,
+ version='${version}',
EOF
'';
propagatedBuildInputs = with python3Packages; [
# copy&pasted requirements.txt (almost exactly)
beautifulsoup4 # upstream version detection