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'.
This commit is contained in:
Bjørn Forsman 2016-01-02 18:15:48 +01:00
parent fc83959704
commit b1570d4f57

View File

@ -1,4 +1,4 @@
{ pkgs, fetchFromGitHub, buildPythonPackage, sqlite3 }: { stdenv, fetchFromGitHub, buildPythonPackage, sqlite3 }:
buildPythonPackage rec { buildPythonPackage rec {
version = "6.6.1"; version = "6.6.1";
@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers"; description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers";
homepage = "http://offlineimap.org"; homepage = "http://offlineimap.org";
license = pkgs.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ pkgs.lib.maintainers.garbas ]; maintainers = [ stdenv.lib.maintainers.garbas ];
}; };
} }