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

[ library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.2.0, 0.3.0
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:57:32Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables nixpkgs-update
Downloads 812 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-10-21 [all 2 reports]

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