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