about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/zeyple/default.nix
blob: fd5f628676aebc1c7f8e95047ba08f2a10a3f4d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "zeyple";
  version = "unstable-2021-04-10";

  format = "other";

  src = fetchFromGitHub {
    owner = "infertux";
    repo = "zeyple";
    rev = "cc125b7b44432542b227887fd7e2701f77fd8ca2";
    sha256 = "0r2d1drg2zvwmn3zg0qb32i9mh03r5di9q1yszx23r32rsax9mxh";
  };

  propagatedBuildInputs = [ python3Packages.gpgme ];
  installPhase = ''
    install -Dm755 $src/zeyple/zeyple.py $out/bin/zeyple
  '';

  meta = with lib; {
    description = "Utility program to automatically encrypt outgoing emails with GPG";
    homepage = "https://infertux.com/labs/zeyple/";
    maintainers = with maintainers; [ ettom ];
    license = licenses.agpl3Plus;
    mainProgram = "zeyple";
  };
}