2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, makeWrapper
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, qtbase
|
|
|
|
, qtquickcontrols2
|
|
|
|
, qtdeclarative
|
|
|
|
, qtgraphicaleffects
|
|
|
|
, kirigami2
|
|
|
|
, oathToolkit
|
2020-11-30 08:33:03 +00:00
|
|
|
, ki18n
|
|
|
|
, libsodium
|
2020-06-18 07:06:33 +00:00
|
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "keysmith";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "0.2";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "keysmith";
|
|
|
|
rev = "v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1gvzw23mly8cp7ag3xpbngpid9gqrfj8cyv9dar6i9j660bh03km";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
buildInputs = [ libsodium ki18n oathToolkit kirigami2 qtquickcontrols2 qtbase ];
|
|
|
|
propagatedBuildInput = [ oathToolkit ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "OTP client for Plasma Mobile and Desktop";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = "https://github.com/KDE/keysmith";
|
|
|
|
maintainers = with maintainers; [ shamilton ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|