1{ mkDerivation, lib, fetchFromGitLab, cmake, extra-cmake-modules
2, ki18n
3, kitemmodels
4, oath-toolkit
5, qgpgme
6, plasma-framework
7, qt5 }:
8
9mkDerivation rec {
10 pname = "plasma-pass";
11 version = "1.2.0";
12
13 src = fetchFromGitLab {
14 domain = "invent.kde.org";
15 owner = "plasma";
16 repo = "plasma-pass";
17 rev = "v${version}";
18 sha256 = "1w2mzxyrh17x7da62b6sg1n85vnh1q77wlrfxwfb1pk77y59rlf1";
19 };
20
21 buildInputs = [
22 ki18n
23 kitemmodels
24 oath-toolkit
25 qgpgme
26 plasma-framework
27 qt5.qtbase
28 qt5.qtdeclarative
29 ];
30
31 nativeBuildInputs = [ cmake extra-cmake-modules ];
32
33 meta = with lib; {
34 description = "A Plasma applet to access passwords from pass, the standard UNIX password manager";
35 homepage = "https://invent.kde.org/plasma/plasma-pass";
36 license = licenses.lgpl21Plus;
37 maintainers = with maintainers; [ matthiasbeyer ];
38 platforms = platforms.unix;
39 };
40}
41