nixpkgs-update: Tool for semi-automatic updating of nixpkgs repository

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

nixpkgs-update provides tools for updating of nixpkgs packages in a semi-automatic way. Mainly, it is used to run the GitHub bot @r-ryantm, but the underlying update mechanisms should be generally useful and in a later version should be exposed as a command-line tool.


[Skip to ReadMe]

Properties

Versions0.2.0, 0.2.0
Change logNone available
Dependenciesbase (>=4.7 && <5), directory (==1.3.*), errors, filepath, github, mtl, neat-interpolation (==0.3.*), optparse-applicative, regex-applicative, shelly, text, time (>=1.8 && <1.10), unix, vector [details]
LicenseLicenseRef-PublicDomain
Copyright2018 Ryan Mulligan
AuthorRyan Mulligan
Maintainerryan@ryantm.com
CategoryWeb
Home pagehttps://github.com/ryantm/nixpkgs-update#readme
Bug trackerhttps://github.com/ryantm/nixpkgs-update/issues
Source repositoryhead: git clone https://github.com/ryantm/nixpkgs-update
Executablesnixpkgs-update
UploadedSun Oct 21 16:56:03 UTC 2018 by ryantm

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for nixpkgs-update-0.2.0

[back to package description]

nixpkgs-update

Build Status

Scripts to try to update nixpkgs packages. Uses hub to automatically make PRs.

Instructions

  1. Clone this repo and build the tool:
    git clone https://github.com/ryantm/nixpkgs-update && cd nixpkgs-update
    nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix
    
  2. Get a list of oudated packages and place them in a packages-to-update.txt file in the root directory of this repository.
    git clone https://github.com/ryantm/repology-api.git && cd repology-api
    nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > ../packages-to-update.txt
    
  3. Return back cd .. and run the tool nix run -f '<nixpkgs>' gitAndTools.hub gist jq tree -c result/bin/nixpkgs-update --update

Prior work