parent
abd65c818d
commit
ae5b37c833
@ -0,0 +1,39 @@ |
||||
{ lib |
||||
, mkDerivation |
||||
|
||||
, cmake |
||||
, extra-cmake-modules |
||||
|
||||
, kdbusaddons |
||||
, ki18n |
||||
, kirigami2 |
||||
, kwindowsystem |
||||
, libsodium |
||||
, qtquickcontrols2 |
||||
}: |
||||
|
||||
mkDerivation rec { |
||||
pname = "keysmith"; |
||||
|
||||
nativeBuildInputs = [ |
||||
cmake |
||||
extra-cmake-modules |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
kdbusaddons |
||||
ki18n |
||||
kirigami2 |
||||
kwindowsystem |
||||
libsodium |
||||
qtquickcontrols2 |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "OTP client for Plasma Mobile and Desktop"; |
||||
license = licenses.gpl3; |
||||
homepage = "https://github.com/KDE/keysmith"; |
||||
maintainers = with maintainers; [ samueldr shamilton ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,40 +0,0 @@ |
||||
{ lib |
||||
, mkDerivation |
||||
, makeWrapper |
||||
, fetchFromGitHub |
||||
, cmake |
||||
, extra-cmake-modules |
||||
, qtbase |
||||
, qtquickcontrols2 |
||||
, qtdeclarative |
||||
, qtgraphicaleffects |
||||
, kirigami2 |
||||
, oathToolkit |
||||
, ki18n |
||||
, libsodium |
||||
}: |
||||
mkDerivation rec { |
||||
|
||||
pname = "keysmith"; |
||||
version = "0.2"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "KDE"; |
||||
repo = "keysmith"; |
||||
rev = "v${version}"; |
||||
sha256 = "1gvzw23mly8cp7ag3xpbngpid9gqrfj8cyv9dar6i9j660bh03km"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ]; |
||||
|
||||
buildInputs = [ libsodium ki18n oathToolkit kirigami2 qtquickcontrols2 qtbase ]; |
||||
propagatedBuildInput = [ oathToolkit ]; |
||||
|
||||
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; |
||||
}; |
||||
} |
Loading…
Reference in new issue