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] [Publish]

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

Versions 0.2.0, 0.2.0, 0.3.0
Change log None available
Dependencies base (>=4.7 && <5), directory (>=1.3 && <1.4), errors, filepath, github, mtl, neat-interpolation (>=0.3 && <0.4), optparse-applicative, regex-applicative, shelly, text, time (>=1.8 && <1.10), unix, vector [details]
License LicenseRef-PublicDomain
Copyright 2018 Ryan Mulligan
Author Ryan Mulligan
Maintainer ryan@ryantm.com
Category Web
Home page https://github.com/ryantm/nixpkgs-update#readme
Bug tracker https://github.com/ryantm/nixpkgs-update/issues
Source repo head: git clone https://github.com/ryantm/nixpkgs-update
Uploaded by ryantm at 2018-10-21T16:56:03Z

Downloads

Maintainer's Corner

Package maintainers

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