Merge pull request #129022 from Mic92/flask-compress

python3.pkgs.flask-compress: fix version metadata
This commit is contained in:
Jörg Thalheim 2021-07-02 21:04:51 +01:00 committed by GitHub
commit c40d0126f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@ buildPythonPackage rec {
sha256 = "28352387efbbe772cfb307570019f81957a13ff718d994a9125fa705efb73680";
};
postPatch = ''
sed -i -e 's/use_scm_version=.*/version="${version}",/' setup.py
'';
propagatedBuildInputs = [ flask brotli ];
meta = with lib; {