nixpkgs/pkgs/tools/networking/gmvault/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00

32 lines
826 B
Nix

{ pkgs, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
version = "1.9.1";
name = "gmvault-${version}";
src = fetchurl {
url = "https://bitbucket.org/gaubert/gmvault-official-download/downloads/gmvault-v${version}-src.tar.gz";
name = "${name}.tar.bz";
sha256 = "0ffp8df3gdf6lf3pj75hzsmxmvmscppb6bjda58my1n4ppxp1rji";
};
doCheck = false;
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook
argparse chardet ];
startScript = ./gmvault.py;
patchPhase = ''
cat ${startScript} > etc/scripts/gmvault
chmod +x etc/scripts/gmvault
substituteInPlace setup.py --replace "==" ">="
'';
meta = {
description = "Backup and restore your gmail account";
homepage = http://gmvault.org;
license = pkgs.lib.licenses.agpl3Plus;
};
}