Commit graph

18 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
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth b3cc65f8b9 buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
Aaron Andersen caa4d272fb ddclient: fix fallout from #62068 2019-05-29 11:53:36 -04:00
Marek Mahut 5a5a597a3f ddclient: patch unpure /usr/bin/perl 2019-05-26 16:10:46 +00:00
Nikita Uvarov 6ccc6c7cd1
ddclient: 3.8.3 -> 3.9.0
This release fixes cloudflare protocol usage by switching to a new api
version. See release notes: https://sourceforge.net/p/ddclient/news/2018/08/ddclient-390-released.
Partially fixes #26691.
2019-01-03 13:33:59 +01:00
volth f65dfb3caf buildPerlPackage -> perlPackages.buildPerlPackage 2018-10-14 09:10:41 +02:00
Peter Hoeg 642c8a8d8d nixos ddclient: support multiple domains and run via systemd timer
a) Some providers can update multiple domains - support that.

b) Make "zone" and "script" configurable. Some providers require these.

c) Instead of leaving the ddclient daemon running all the time, use a systemd
timer to kick it off.

d) Don't use a predefined user - run everything via DynamicUser

e) Add documentation
2018-04-15 10:17:46 +08:00
Peter Hoeg d4f4f418b3 ddclient: minor packaging cleanups 2017-08-13 21:56:48 +08:00
Tuomas Tynkkynen 89ce5d4b96 ddclient: Fix build after multiple outputs merge 2016-04-28 20:48:33 +03:00
Robert Helgesson 5d8c4443f1 ddclient: add meta.platforms 2016-02-21 20:24:20 +01:00
Robert Helgesson 113106df1b ddclient: 3.8.2 -> 3.8.3
Also remove patch for issue that has been fixed upstream, add simple
meta section, and minor other cleanups.
2016-02-20 18:30:36 +01:00
Tuomas Tynkkynen 7532c5379d ddclient: Force line buffering on stdout
Status messages of ddclient go to stdout, which is block buffered by
default, so most of its output won't appear in the journal until it is
exiting:

-- Reboot --
Apr 19 11:31:04 xen systemd[1]: Starting Dynamic DNS Client...
Apr 19 11:31:04 xen systemd[1]: Started Dynamic DNS Client.
Apr 19 11:31:53 xen systemd[1]: Stopping Dynamic DNS Client...
Apr 19 11:31:53 xen ddclient[530]: === opt ====
Apr 19 11:31:53 xen ddclient[530]: opt{cache}                           : <undefined>
Apr 19 11:31:53 xen ddclient[530]: opt{cmd}                             : <undefined>
...

Fix this by adding a patch to set line buffering on stdout.
2015-04-19 12:32:04 +03:00
Nixpkgs Monitor 3c1e0ec7b9 ddclient: update from 3.8.1 to 3.8.2 2014-01-13 17:53:23 +01:00
Thomas Bereknyei 16e85b4275 Perl requirement for ddclient to be used as a service
(Might only be the FreeDNS protocol that needs it.)
2013-11-27 19:46:55 +01:00
Rickard Nilsson 67f478d1ed ddclient: Upgrade to 3.8.1 2012-11-08 13:54:53 +01: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
Rob Vermaas 5d6ee123ed ddclient
svn path=/nixpkgs/trunk/; revision=17181
2009-09-16 11:27:18 +00:00