Commit Graph

47 Commits

Author SHA1 Message Date
Sandro Jäckel
9378fdf87e
iproute: deprecate alias 2021-04-04 01:43:46 +02:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Frederik Rietdijk
66d3b9a02d wicd: use python2 2017-01-11 18:25:10 +01:00
Vladimír Čunát
6eeea6effd Python: more evaluation fixups. 2016-10-14 00:03:12 +02:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Tuomas Tynkkynen
282277dbc8 treewide: Use more makeBinPath 2016-08-23 01:18:10 +03:00
Frederik Rietdijk
5a501bd828 Remove top-level dbus_python and pythonDBus.
See #11567.

Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus-
python as that's the name upstream uses.

There is a small rebuild but I couldn't figure out the actual cause.
2016-08-16 22:52:37 +02:00
Frederik Rietdijk
7986b718f3 Remove pycairo from top-level
See #11567.
2016-08-14 13:52:42 +02: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
J Phani Mahesh
ac19f09122 wicd: propogatedBuildInputs -> propagatedBuildInputs 2016-07-14 17:23:06 +05:30
Rok Garbas
3d932ba135 wicd: wicd-curses fix for ...
... AttributeError: 'Screen' object has no attribute 'get_input_nonblocking'

fixes #10281
2016-05-12 03:19:28 +02:00
Tobias Geerinckx-Rice
158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice
b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00
Peter Jones
0a34c59c38 Add dependency for wicd-gtk to use the systray 2015-03-10 15:19:51 -06:00
Matti Niemenmaa
85e405c1eb wicd: fix wicd-curses with new urwid
See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=894646 — without
this patch, wicd-curses throws an AttributeError on startup. The patch
is a cut-down version of the one added there by Pavel Zhukov.
2015-01-13 00:40:51 -08:00
Aristid Breitkreuz
d7124e8c34 wicd: add urwid and curses to PYTHONPATH of wicd-curses 2014-09-17 20:28:32 +02:00
Ricky Elrod
31a0844f79 wicd: enable curses, urwid is packaged
Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-05-11 05:41:08 -04:00
Bjørn Forsman
2238a23352 wicd: wrapper env vars prefix -> postfix
Change PATH=$PATH:deps to PATH=deps:$PATH in the wicd wrappers, because
the latter is more deterministic; it prevents possibly wrong versions of
dependencies to sneak in from the environment.

Do the same for PYTHONPATH.
2013-07-31 21:54:09 +02:00
Vladimír Čunát
1c22316af6 Merge pull request #429 from ierton/wicd-fixes
wicd: some fixes
2013-04-20 01:32:29 -07:00
Sergey Mironov
8b3b208f33 wicd: rename icons/hicolour to icons/hicolor 2013-04-09 09:27:45 +04:00
Sergey Mironov
18681ae58e wicd: remove unused patches, remove ast with plain rm 2013-04-04 13:44:43 +04:00
Cillian de Róiste
69ad5c5c04 Fix the path to ping
iputils-20101006/sbin/ping has moved to iputils-20121221/bin/ping
Wicd uses ping to test the connection and produced and error message.
2013-04-03 23:34:02 +02:00
Sergey Mironov
6901f6346d wicd: [HACK] fix various gtk issues
* hack around s.translate situation
* fix KeyError exception in error dialog
* fix Russian translation
2013-03-31 18:10:28 +00:00
Sergey Mironov
ee921d9df4 wicd: fix missing application icon 2013-03-31 13:06:31 +04:00
Sergey Mironov
f7efab5fd8 wicd: bring translations back. 2013-03-31 13:06:27 +04:00
Sergey Mironov
a8a3cc00fd wicd: fix dhclient interaction
wicd used to write dhclient config file into $out/var/lib/wicd directory attempting
to change nix-store. That didn't work and thats why we couldn't use dhclient.
With this patch wicd will generate temporary file name for this purpose. File is
generated each time the daemon starts.
2013-03-31 13:06:24 +04:00
Cillian de Róiste
924be9b524 Wicd: #379 Also add the gtk-2.0 directory in pygobject to the PYTHONPATH 2013-03-16 08:34:14 +01:00
Cillian de Róiste
ef3da5eecd #379 wicd: Add ifconfig and ping to the PATH
/var/log/wicd/wicd.log showed that it failed to find ifconfig
that was probably the main issue (after the gobject import failure)
2013-03-15 00:59:17 +01:00
Cillian de Róiste
2393f6b96f #379 Update wicd to 1.7.2.4, fix patches, disable translations 2013-03-15 00:14:30 +01:00
Cillian de Róiste
0d191de368 Fix wicd to find the python gobject on its PYTHONPATH 2013-03-14 01:22:55 +01:00
Cillian de Róiste
f81dbf4893 wicd: NixOS/nixos#88 add resolvconf to PATH for wicd
with this patch resolvconf is used to set the DNS via wicd, although
this doesn't seem to stop dhcpcd from clobbering /etc/resolv.conf
2013-02-18 21:46:15 +01:00
Russell O'Connor
d8e8730127 Adding support for dhcpcd to wicd.
svn path=/nixpkgs/trunk/; revision=33532
2012-04-01 22:46:15 +00:00
Yury G. Kudryashov
38e3d7bc86 svn merge ^/nixpkgs/trunk
Not merged r32497 (tree conflict, glibc GNU Hurd update). Ludovic, could you
please look at this?

svn path=/nixpkgs/branches/stdenv-updates/; revision=32520
2012-02-23 20:06:21 +00:00
Peter Simons
4b8cceb571 wicd: emit ip-up and ip-down as well
svn path=/nixpkgs/trunk/; revision=32482
2012-02-22 20:29:15 +00:00
Yury G. Kudryashov
84c0185038 svn merge ^/nixpkgs/trunk, one simple conflict in jruby
svn path=/nixpkgs/branches/stdenv-updates/; revision=31721
2012-01-19 21:31:51 +00:00
Peter Simons
0f3fa64430 wicd: integrate with upstart events
quite some services need to be started/restarted when a connection is
established/teared down. Also, some services are optional depending on
the connected access point. For example: use a vpn on an untrusted
network.

these small trigger scripts don't change any behaviour by themselves,
but allow you to hook in to them if you need.

example use:

  jobs.gw6c.startOn = pkgs.lib.mkForce "started  openvpn-dcsOffice";
  jobs.gw6c.stopOn  = pkgs.lib.mkForce "stopping openvpn-dcsOffice";
  jobs."openvpn-dcsOffice".startOn        = pkgs.lib.mkForce "wicd-postconnect";
  jobs."openvpn-dcsOffice".stopOn         = pkgs.lib.mkForce "stopping network-interfaces or wicd-predisconnect";

In the example, I use 3 layers. When a physical connection is
available (wifi connect), I setup a vpn connection, and setup an ipv6
tunnel on top of that. When disconnecting, they are automatically shut
down in the right order as well.

svn path=/nixpkgs/trunk/; revision=31662
2012-01-18 20:38:34 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Russell O'Connor
78f9628037 wicd should no longer write into the nix store.
But it doesn't compile optimized bytecode. :(  I would be good if someone who actually knew python could give this package some love.

svn path=/nixpkgs/trunk/; revision=26742
2011-04-07 15:39:53 +00:00
Eelco Dolstra
687c2ccc17 * wicd updated to 1.7.1b2, which is compatible with Python 2.7.
svn path=/nixpkgs/trunk/; revision=26727
2011-04-06 22:06:00 +00:00
Ludovic Courtès
80a9a7f8bb Wicd: Add a template for WPA2-TTLS.
svn path=/nixpkgs/trunk/; revision=25534
2011-01-13 10:03:20 +00:00
Russell O'Connor
7f65afe3f3 Update wicd to 1.7.0
svn path=/nixpkgs/trunk/; revision=24929
2010-11-29 20:15:44 +00:00
Lluís Batlle i Rossell
9c8c4159b5 Fixing the style in the wicd expression, based on the recommendations
made by ludo in the mailing list.


svn path=/nixpkgs/trunk/; revision=19342
2010-01-10 20:27:28 +00:00
Lluís Batlle i Rossell
3a400bb64a Adding wicd, written by roconnor, sent to the nix-dev list on 2010-01-07
svn path=/nixpkgs/trunk/; revision=19297
2010-01-07 17:49:45 +00:00