Because autorandr still imports distutils, it produces a bunch of
deprecation warnings. we need to add packaging to propagatedBuildInputs,
but because this wasn't wrapped, the wrapper hook did not take care of
adjusting the system path.
The easiest way I could find to fix this was to actually wrap
autorandr. Then I also had to add a patch to disable autorandr
using sys.executable to fork itself in --batch mode. Otherwise it tries to use
python to run the bash wrapper, which doesn't work. This should be
fine in a nixpkgs environment, since nixpkgs sets the shebang explicitly.
autorandr includes functional zsh completions upstream they just lack
a make target to install the relevant file. For some consistency use the
direct file for both zsh and bash rather than just zsh. Note this
changes the resulting bash completion filename from just 'autorandr' to
'autorandr.bash'
See https://github.com/phillipberndt/autorandr/issues/197
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/autorandr/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr -h’ got 0 exit code
- ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr --help’ got 0 exit code
- ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr --version’ and found version 1.5
- found 1.5 with grep in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5
- directory tree listing: https://gist.github.com/ca1a736eb6be03089d56d2e50bef2cfd
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
There are many more packages to fix, this is just a start.
Rules:
* Don't repeat the package name (not always that easy...)
* Start with capital letter
* Don't end with full stop
* Don't start with "The ..." or "A ..."
I've also added descriptions to some packages and rewritten others.