patchelf: Add version (#1540)

* patchelf: Add version

* flake8

* Removed unnecessary url_for_version() function.

* Restored old URL
This commit is contained in:
Elizabeth Fischer 2016-10-12 02:11:25 -04:00 committed by Todd Gamblin
parent 025b914079
commit a6f85f51d0

View File

@ -30,10 +30,12 @@ class Patchelf(Package):
ELF executables."""
homepage = "https://nixos.org/patchelf.html"
url = "http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.gz"
url = "http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.gz"
list_url = "http://nixos.org/releases/patchelf/"
list_depth = 2
version('0.9', '3c265508526760f233620f35d79c79fc')
version('0.8', '407b229e6a681ffb0e2cdd5915cb2d01')
def install(self, spec, prefix):