Subversion "version" failure?

Hi!

I’m currently working on a package (hosted at SourceForge) that, when “imported” into NixOS and compiled, is lacking a “version”.

This is because the makefile for the package uses a subversion-specific command to assign the package version to a variable, which is then referenced in the main compilation.

svnversion: svnversion | SVN Book

How do I fix this? Do I manually assign the variable in my NixOS package declaration, as a patch?

FWIW, I have the ability to make changes from the (SourceForge) package end of things, so maybe I can do something there to give a hint to NixOS? (I don’t want to hard-code the version because other people make changes and they would most likely forget to update the version.)

Thanks!