From b1570d4f5731c50881812cd1e31c7e97604aeb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 2 Jan 2016 18:15:48 +0100 Subject: [PATCH] offlineimap: don't depend on 'pkgs' attrset It's considered bad style to depend on "everything". In this case, all that was needed from 'pkgs' was 'stdenv'. --- pkgs/tools/networking/offlineimap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/offlineimap/default.nix b/pkgs/tools/networking/offlineimap/default.nix index ac7087607dad..5331f71a96ac 100644 --- a/pkgs/tools/networking/offlineimap/default.nix +++ b/pkgs/tools/networking/offlineimap/default.nix @@ -1,4 +1,4 @@ -{ pkgs, fetchFromGitHub, buildPythonPackage, sqlite3 }: +{ stdenv, fetchFromGitHub, buildPythonPackage, sqlite3 }: buildPythonPackage rec { version = "6.6.1"; @@ -21,7 +21,7 @@ buildPythonPackage rec { meta = { description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers"; homepage = "http://offlineimap.org"; - license = pkgs.lib.licenses.gpl2Plus; - maintainers = [ pkgs.lib.maintainers.garbas ]; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [ stdenv.lib.maintainers.garbas ]; }; }