diff options
Diffstat (limited to 'pkgs/applications/misc/tumpa/default.nix')
-rw-r--r-- | pkgs/applications/misc/tumpa/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tumpa/default.nix b/pkgs/applications/misc/tumpa/default.nix new file mode 100644 index 0000000000000..f7dfdd95d5db1 --- /dev/null +++ b/pkgs/applications/misc/tumpa/default.nix @@ -0,0 +1,42 @@ +{ lib +, python3 +, fetchFromGitHub +, wrapQtAppsHook +}: + +python3.pkgs.buildPythonApplication rec { + pname = "tumpa"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "kushaldas"; + repo = "tumpa"; + rev = "v${version}"; + sha256 = "17nhdildapgic5l05f3q1wf5jvz3qqdjv543c8gij1x9rdm8hgxi"; + }; + + propagatedBuildInputs = with python3.pkgs; [ + setuptools + johnnycanencrypt + pyside2 + ]; + + nativeBuildInputs = [ + wrapQtAppsHook + ]; + + dontWrapQtApps = true; + preFixup = '' + makeWrapperArgs+=("''${qtWrapperArgs[@]}") + ''; + + doCheck = false; + + meta = with lib; { + description = "OpenPGP key creation and smartcard access"; + homepage = "https://github.com/kushaldas/tumpa"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ _0x4A6F ]; + broken = true; + }; +} |