mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ stdenv, fetchFromGitHub, pythonPackages,
|
|
asciidoc, libxml2, libxslt, docbook_xml_xslt }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "7.1.1";
|
|
name = "offlineimap-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OfflineIMAP";
|
|
repo = "offlineimap";
|
|
rev = "v${version}";
|
|
sha256 = "12fv6fzi3cb0hkvs4h5vj2i440d85wzjjyjl90zvyxvlfy0pmljl";
|
|
};
|
|
|
|
postPatch = ''
|
|
# Skip xmllint to stop failures due to no network access
|
|
sed -i docs/Makefile -e "s|a2x -v -d |a2x -L -v -d |"
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ asciidoc libxml2 libxslt docbook_xml_xslt ];
|
|
propagatedBuildInputs = [ pythonPackages.six ];
|
|
|
|
postInstall = ''
|
|
make -C docs man
|
|
install -D -m 644 docs/offlineimap.1 ''${!outputMan}/share/man/man1/offlineimap.1
|
|
install -D -m 644 docs/offlineimapui.7 ''${!outputMan}/share/man/man7/offlineimapui.7
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|