mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
b1570d4f57
It's considered bad style to depend on "everything". In this case, all that was needed from 'pkgs' was 'stdenv'.
28 lines
689 B
Nix
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 ];
|
|
};
|
|
}
|