Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/build-support/upstream-updater/update-walker-service-specific.sh

10 lines
203 B
Bash
Raw Normal View History

Support for low-impact updaters; some SF.net boilerplate helper. Added support code for comfortable writing of upstream data update expressions that do not require change of layout of the updated expressions (although they make assumptions about single assignment per line). Also added a default for choosing file to update (it is supposed to be default.nix in the same directory) and a one-liner for typical sourceforge redirects (and sourceforge mirror:// handling).
2012-11-10 14:38:53 +04:00
SF_redirect () {
redirect
process 'http://[a-z]+[.]dl[.]sourceforge[.]net/' 'mirror://sourceforge/'
process '[?].*' ''
}
Update Asymptote
2012-12-04 10:33:37 +04:00
SF_version_dir () {
version_link 'http://sourceforge.net/.+/[0-9.]+/$'
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 211ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API