depot/third_party/nixpkgs/pkgs/applications/misc/tumpa/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

42 lines
819 B
Nix

{ 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;
};
}