From 66097104090e06c43a784193809bc8843a2ec052 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 28 Jul 2010 11:55:54 +0000 Subject: * 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 --- pkgs/os-specific/linux/afuse/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'pkgs/os-specific/linux/afuse/default.nix') diff --git a/pkgs/os-specific/linux/afuse/default.nix b/pkgs/os-specific/linux/afuse/default.nix index 2ecb21d2b5be..06af0c9228a6 100644 --- a/pkgs/os-specific/linux/afuse/default.nix +++ b/pkgs/os-specific/linux/afuse/default.nix @@ -1,4 +1,5 @@ -args: with args; +{ stdenv, fetchurl, pkgconfig, fuse }: + stdenv.mkDerivation { name = "afuse-0.2"; @@ -7,18 +8,14 @@ stdenv.mkDerivation { sha256 = "1lj2jdks0bgwxbjqp5a9f7qdry19kar6pg7dh1ml98gapx9siylj"; }; - buildInputs = [pkgconfig fuse]; + buildInputs = [ pkgconfig fuse ]; meta = { - description = "automounting in userspace. Allows easy access to ssh-agent etc"; - longDesc = '' - Example: (automunt using sshfs by accessing ~/sshfs/[user@]domain - afuse -o mount_template="sshfs %r:/ %m" -o unmount_template="fusermount -u -z %m" ~/sshfs/ - ''; + description = "Automounter in userspace"; homepage = http://sourceforge.net/projects/afuse; license = "GPL-v2"; - maintainers = [args.lib.maintainers.marcweber]; - platforms = args.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.marcweber ]; + platforms = stdenv.lib.platforms.linux; }; } -- cgit 1.4.1