1{ lib
2, python3
3, fetchFromGitHub
4, wrapQtAppsHook
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "tumpa";
9 version = "0.1.2";
10
11 src = fetchFromGitHub {
12 owner = "kushaldas";
13 repo = "tumpa";
14 rev = "v${version}";
15 sha256 = "17nhdildapgic5l05f3q1wf5jvz3qqdjv543c8gij1x9rdm8hgxi";
16 };
17
18 propagatedBuildInputs = with python3.pkgs; [
19 setuptools
20 johnnycanencrypt
21 pyside2
22 ];
23
24 nativeBuildInputs = [
25 wrapQtAppsHook
26 ];
27
28 dontWrapQtApps = true;
29 preFixup = ''
30 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
31 '';
32
33 doCheck = false;
34
35 meta = with lib; {
36 description = "OpenPGP key creation and smartcard access";
37 homepage = "https://github.com/kushaldas/tumpa";
38 license = licenses.gpl3Plus;
39 maintainers = with maintainers; [ _0x4A6F ];
40 broken = true;
41 };
42}