Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3Packages, fetchFromGitHub }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "zeyple"; 5 version = "unstable-2021-04-10"; 6 7 format = "other"; 8 9 src = fetchFromGitHub { 10 owner = "infertux"; 11 repo = "zeyple"; 12 rev = "cc125b7b44432542b227887fd7e2701f77fd8ca2"; 13 sha256 = "0r2d1drg2zvwmn3zg0qb32i9mh03r5di9q1yszx23r32rsax9mxh"; 14 }; 15 16 propagatedBuildInputs = [ python3Packages.pygpgme ]; 17 installPhase = '' 18 install -Dm755 $src/zeyple/zeyple.py $out/bin/zeyple 19 ''; 20 21 meta = with lib; { 22 description = "Utility program to automatically encrypt outgoing emails with GPG"; 23 homepage = "https://infertux.com/labs/zeyple/"; 24 maintainers = with maintainers; [ ettom ]; 25 license = licenses.agpl3Plus; 26 }; 27}