Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: b53c53b1b4dd30d4c28ed86ec4f6c49079de4f66
https://github.com/NixOS/nixpkgs/commit/b53c53b1b4dd30d4c28ed86ec4f6c49079de4f66
Author: Tuomas Tynkkynen <[email protected]>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Changed paths:
A pkgs/common-updater/scripts.nix
A pkgs/common-updater/scripts/update-source-version
M pkgs/top-level/all-packages.nix
Log Message:
-----------
maintainers: Add script to patch version/sha256 in .nix files
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.
Commit: 9483359887f815aa7441176be5af2d4e9ae6f5b2
https://github.com/NixOS/nixpkgs/commit/9483359887f815aa7441176be5af2d4e9ae6f5b2
Author: Tuomas Tynkkynen <[email protected]>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Changed paths:
M pkgs/os-specific/linux/tp_smapi/default.nix
M pkgs/os-specific/linux/tp_smapi/update.nix
Log Message:
-----------
linuxPackages.tp_smapi: Use common-updater/update-source-version script
This way we have the benefit of the usual Nixpkgs style, and gain a
slight reduction in amount of code in the updater.
Also use callPackage to reduce duplication of the dependencies of the
update script and use makeBinPath to make things neater.
Commit: e5e1bdca538cb2b8c0e1b184b4acb33649ad3270
https://github.com/NixOS/nixpkgs/commit/e5e1bdca538cb2b8c0e1b184b4acb33649ad3270
Author: Tuomas Tynkkynen <[email protected]>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Changed paths:
M pkgs/applications/networking/browsers/firefox/default.nix
M pkgs/applications/networking/browsers/firefox/update.nix
M pkgs/applications/networking/mailreaders/thunderbird/default.nix
Log Message:
-----------
firefox, thunderbird: Use common-updater/update-source-version script
Replace the custom patching code with the common script.
Also use callPackage and makeBinPath
Compare: https://github.com/NixOS/nixpkgs/compare/6dbe55ca689c...e5e1bdca538c_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits