1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
Commit graph

10 commits

Author SHA1 Message Date
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
Romanos Skiadas 5e891fd073 python3Packages.jenkinsapi: fix build
nix-env -f default.nix -iA python38Packages.jenkinsapi now works.

Here is a list of all the things done:
- fixed the dependency list which was lacking some packages
- changed checkPhase. This called python setup.py test by default,
which is very much not what jenkinsapi does upstream. This resulted in
simple_post_logger.py being imported, which called serve_forever(),
manifesting as a hang
- tox decided to install pbr every time and fails and also tried to
run tests across multiple python versions, so I just made checkPhase
call pylint/pycodestyle/py.test directly.
- disabled systests which try to run jenkins
- disabled misc broken tests. There are some calls in them that should
have been mocked but the mocks don't take effect for some reason,
resulting in failed requests to localhost.
- removed needless inputs. nose and unittest2 are not needed, not even
in python2
- disabled tests on darwin, as requests-kerberos is apparently broken
2020-09-13 10:03:53 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk 2a16a02ed7 python: jenkinsapi: 0.3.10 -> 0.3.11 2019-11-22 08:37:21 +01:00
Frederik Rietdijk 195a5dbb25 python: jenkinsapi: 0.3.9 -> 0.3.10 2019-10-27 16:26:45 +01:00
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e675498026
1e9cc5b984
793a2fe1e8
c19cf65261
f6544d618f
2019-10-08 17:14:26 +02:00
Frederik Rietdijk 5597764175 python: jenkinsapi: 0.3.8 -> 0.3.9 2019-04-18 12:42:40 +02:00
Frederik Rietdijk 39667b7b83 python: jenkinsapi: 0.3.6 -> 0.3.8 2019-01-18 09:37:08 +01:00
Frederik Rietdijk f71122374f python: jenkinsapi: 0.2.32 -> 0.3.6 2018-12-03 16:50:31 +01:00
Chris Ostrouchov dae0571bc3
pythonPackages.jenkinsapi: refactor move to python-modules 2018-10-30 00:51:17 -04:00