Commit Graph

43 Commits

Author SHA1 Message Date
Frederik Rietdijk
9a448bdf92 autorandr: fix build dist issue
The build uses a custom build and install phase and should therefore not
use the hooks that are provided by default.
2022-09-21 11:33:20 +02:00
Romanos Skiadas
d7956c52e1 autorandr: WIP Fix distutils import warning
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.
2022-06-29 21:30:03 +03:00
R. Ryantm
d38b5eb9b8 autorandr: 1.11 -> 1.12.1 2021-12-31 15:34:55 +00:00
Anund
bdda2cca74 autorandr: install zsh completions
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
2021-12-05 19:46:52 +11:00
Felix Buehler
1e9baed56b various: cleanup of 'inherit version;' 2021-07-16 00:17:12 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michal Sojka
7837ec6296 autorandr: Install manpage 2020-11-27 21:11:44 +01:00
R. RyanTM
87976cd2ef autorandr: 1.10.1 -> 1.11 2020-11-22 20:29:30 +00:00
Florian Klink
2d5de92f8e autorandr: run systemctl of the currently running systemd 2020-05-21 10:35:21 +02:00
R. RyanTM
cccb4f4938 autorandr: 1.10 -> 1.10.1 2020-05-20 08:15:55 +00:00
R. RyanTM
59944f5782 autorandr: 1.9 -> 1.10 2020-05-04 15:44:31 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
0b2834825a autorandr: 1.8.1 -> 1.9 2019-12-22 21:48:00 -08:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
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
2019-08-24 08:55:37 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Tim Humphries
b7032b5281 autorandr: use official package description
Use the description from the manpage / upstream repository.
2019-05-25 18:32:53 -07:00
R. RyanTM
0aaeaa93fb autorandr: 1.8 -> 1.8.1
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
2019-04-14 00:50:19 -07:00
Jörg Thalheim
709e94d287
Merge pull request #58006 from r-ryantm/auto-update/autorandr
autorandr: 1.7 -> 1.8
2019-03-21 07:38:35 +00:00
R. RyanTM
73d280e4b2 autorandr: 1.7 -> 1.8
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
2019-03-20 22:42:22 -07:00
Maximilian Bosch
0015e526c7
autorandr: install bash completions properly 2019-03-10 18:06:48 +01:00
Bruno Bieth
e9fbc7ce3f autorandr: 1.6 -> 1.7 2018-10-02 12:28:32 +02:00
R. RyanTM
ace66a7aeb autorandr: 1.5 -> 1.6 (#43953) 2018-07-22 09:20:46 +00:00
R. RyanTM
1471530423 autorandr: 1.4 -> 1.5
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
2018-04-07 22:22:45 -07:00
gnidorah
e17a222f94 autorandr: embed path to xrandr 2018-02-22 10:41:30 +03:00
Ryan Mulligan
9801326d32 autorandr: 1.1 -> 1.4 2018-02-05 20:56:47 -08:00
Joerg Thalheim
3541b9a72e autorandr: put xrandr into PATH 2017-10-09 23:46:40 +01:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00
Jörg Thalheim
451de09f51
autorandr: fix python shebang 2017-06-08 12:11:43 +01:00
gnidorah
5c9f0d00c3 autorandr: 855c18b -> 1.1 2017-06-07 13:23:36 +03:00
gnidorah
ca733de964 autorandr: 53d29f9 -> 855c18b and module 2017-04-06 13:28:40 +03:00
Christian Kampka
dcc2bfddfe autorandr: 59f6aec0b -> 53d29f9 2016-11-26 21:32:58 +01:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Robert Helgesson
8a82798f97 autorandr: avoid use of xxd
Use the Python fallback instead of bringing in a dependency on Vim.
2016-07-09 22:40:34 +02:00
Graham Christensen
7bd2052436 autorandr: 4f5e2401ef -> 20150127
wertarbyte has allowed his project to languish, and phillipberdt
has taken it over and is merging pull requests
2016-07-09 22:19:32 +02:00
Eelco Dolstra
dbd332d147 Fix meta.maintainer -> meta.maintainers 2014-04-23 14:26:32 +02:00
Tom Hinton
7b9485145d Add missing sha256sum to autorandr derivation 2014-03-18 10:15:59 +00:00
Bjørn Forsman
28ac782583 Some description fixes
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.
2013-10-05 19:36:23 +02:00
Jonas Hoersch
47a05b9aec autorandr: add coroa as a maintainer 2013-10-04 09:34:17 +02:00
Jonas Hoersch
683310e05e autorandr: make the dependencies on xrandr and disper configurable by enableX params 2013-09-26 13:12:01 +02:00
Jonas Hoersch
cd902179db autorandr: add autorandr an automatic display configuration selector 2013-09-25 00:11:54 +02:00