summary refs log tree commit diff
path: root/pkgs/common-updater
Commit message (Collapse)AuthorAge
* common-updater: support updating source URLtaku02018-03-16
|
* update-source-version: Fix regex metacharacterTuomas Tynkkynen2018-02-17
| | | | In sed variety of regexes, '\|' must be used in place of '|'.
* common-update-scripts: fix compatibility with Nix unstableJan Tojnar2018-02-17
|
* update-source-version: Name part of `name` can contain dashesTuomas Tynkkynen2017-12-26
|
* update-source-version: Don't require whitespace around equals signTuomas Tynkkynen2017-12-26
|
* update-source-version: More robust scanning for the output hashTuomas Tynkkynen2017-12-26
|
* update-source-version: Less strict regex for `name = ...` linesTuomas Tynkkynen2017-12-26
|
* update-source-version: Check for sources not dependent on ${version}Tuomas Tynkkynen2017-12-26
|
* update-source-version: Escape plus sign if it occurs in versionTuomas Tynkkynen2017-12-26
|
* common-updater-script: fix error handlingtaku02017-05-19
| | | | diffutils is required for cmp command
* maintainers: Add script to patch version/sha256 in .nix filesTuomas Tynkkynen2017-02-19
Adds a script to help automatically upgrading packages: this one can patch name/version attributes like: version = "50.1.0"; name = "bc-1.06"; ... to the given version, and updates the sha256 hash to match. Usage is: update-source-version <attr> <new-version> [<new-source-hash>] where: - attr is the attribute path of the package - new-version is the version string to be patched in - new-source-hash is the optional sha256/etc. hash of the source. If not given, the script will automatically calculate it. This is added to a subdirectory where other useful scripts can be added in the future, like figuring out the newest version from a git repo or GitHub releases etc.