b1570d4f57
It's considered bad style to depend on "everything". In this case, all that was needed from 'pkgs' was 'stdenv'.
27 lines
689 B
Nix
27 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 ];
|
|
};
|
|
}
|