nixpkgs/pkgs/development/python-modules/tumpa/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
863 B
Nix
Raw Normal View History

{ lib
2021-01-05 19:07:41 +00:00
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pyside2
, johnnycanencrypt
, pythonOlder
, wrapQtAppsHook
2021-01-05 19:07:41 +00:00
}:
buildPythonPackage rec {
pname = "tumpa";
2022-01-14 00:59:05 +00:00
version = "0.1.2";
2021-01-05 19:07:41 +00:00
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kushaldas";
repo = "tumpa";
rev = "v${version}";
2022-01-14 00:59:05 +00:00
sha256 = "17nhdildapgic5l05f3q1wf5jvz3qqdjv543c8gij1x9rdm8hgxi";
2021-01-05 19:07:41 +00:00
};
propagatedBuildInputs = [
setuptools
johnnycanencrypt
pyside2
];
nativeBuildInputs = [
wrapQtAppsHook
];
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
2021-01-05 19:07:41 +00:00
doCheck = false;
meta = with lib; {
2021-01-05 19:07:41 +00:00
description = "OpenPGP key creation and smartcard access";
homepage = "https://github.com/kushaldas/tumpa";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ _0x4A6F ];
};
}