diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
commit | 66097104090e06c43a784193809bc8843a2ec052 (patch) | |
tree | 021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/servers/fingerd | |
parent | b4a3f99c7812a6c8bc34979200693b7010afffcc (diff) |
* Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.
svn path=/nixpkgs/trunk/; revision=22782
Diffstat (limited to 'pkgs/servers/fingerd')
-rw-r--r-- | pkgs/servers/fingerd/bsd-fingerd/default.nix | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/servers/fingerd/bsd-fingerd/default.nix b/pkgs/servers/fingerd/bsd-fingerd/default.nix index eacf2371d360..5e5d91fa8205 100644 --- a/pkgs/servers/fingerd/bsd-fingerd/default.nix +++ b/pkgs/servers/fingerd/bsd-fingerd/default.nix @@ -1,17 +1,20 @@ -args: with args; +{ stdenv, fetchurl }: + +# !!! Duplication: this package is almost exactly the same as `bsd-fingerd'. + stdenv.mkDerivation rec { - name = "bsd-fingerd-0.17"; + name = "bsd-fingerd-0.17"; - src = fetchurl { - url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-0.17.tar.gz"; - sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244"; - }; + src = fetchurl { + url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-0.17.tar.gz"; + sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244"; + }; - NIX_CFLAGS_COMPILE="-D_GNU_SOURCE"; + NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; - patches = [./ubuntu-0.17-9.patch]; + patches = [ ./ubuntu-0.17-9.patch ]; - preBuild = "cd fingerd"; + preBuild = "cd fingerd"; - preInstall = '' ensureDir $out/man/man8 $out/sbin ''; + preInstall = '' ensureDir $out/man/man8 $out/sbin ''; } |