python3.pkgs.flask-compress: fix version metadata

This commit is contained in:
Jörg Thalheim 2021-07-02 21:18:42 +02:00
parent 3895ec33ad
commit e137675453
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

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; {