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

[ program, web ] [ Propose Tags ]

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]
Versions [faq] 0.2.0
Dependencies base (>=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]
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 Sun Oct 21 16:57:32 UTC 2018
Distributions NixOS:0.2.0
Executables nixpkgs-update
Downloads 131 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2018-10-21 [all 2 reports]

Downloads

Maintainer's 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