3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/offlineimap/default.nix
Bjørn Forsman b1570d4f57 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'.
2016-01-02 18:17:22 +01:00

28 lines
689 B
Nix

{ stdenv, fetchFromGitHub, buildPythonPackage, sqlite3 }:
buildPythonPackage rec {
version = "6.6.1";
name = "offlineimap-${version}";
namePrefix = "";
src = fetchFromGitHub {
owner = "OfflineIMAP";
repo = "offlineimap";
rev = "v${version}";
sha256 = "0nn1qkxqy84h0a2acd1yx861wslh2fjfznkcq15856npbd34yqy5";
};
doCheck = false;
propagatedBuildInputs = [
sqlite3
];
meta = {
description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers";
homepage = "http://offlineimap.org";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.garbas ];
};
}