1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/networking/gmvault/default.nix
Bjørn Forsman 083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00

36 lines
903 B
Nix

{ pkgs, fetchurl, buildPythonPackage, pythonPackages }:
buildPythonPackage rec {
version = "1.8.1-beta";
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 = "0b575cnrd6jzcpa05mbn2swzcy0r9ck09pkhs4ydj6d3ir52j80c";
};
doCheck = false;
propagatedBuildInputs = [
pythonPackages.gdata
pythonPackages.IMAPClient
pythonPackages.Logbook
pythonPackages.argparse
];
startScript = ./gmvault.py;
patchPhase = ''
cat ${startScript} > etc/scripts/gmvault
chmod +x etc/scripts/gmvault
substituteInPlace setup.py --replace "Logbook==0.4.1" "Logbook==0.4.2"
'';
meta = {
description = "Backup and restore your gmail account";
homepage = "http://gmvault.org";
license = pkgs.lib.licenses.agpl3Plus;
};
}