summary refs log tree commit diff
path: root/pkgs/tools/security/plasma-pass
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-27 14:33:11 +0200
committerWilliam Casarin <jb55@jb55.com>2021-04-27 08:56:04 -0700
commit0db1ac4ec26fee5ab19e6e1be765edbf15149be7 (patch)
tree86d4fc6f0db414bc9417d3fc92985d247b77bba1 /pkgs/tools/security/plasma-pass
parentba6f0e8f03632e0c5ae74ae10d0f745d4413dfd5 (diff)
downloadnixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar.gz
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar.bz2
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar.lz
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar.xz
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.tar.zst
nixpkgs-0db1ac4ec26fee5ab19e6e1be765edbf15149be7.zip
plasma-pass: init at 1.2.0
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Link: https://lists.sr.ht/~andir/nixpkgs-dev/%3C20210427123311.517-1-mail@beyermatthias.de%3E
Diffstat (limited to 'pkgs/tools/security/plasma-pass')
-rw-r--r--pkgs/tools/security/plasma-pass/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/security/plasma-pass/default.nix b/pkgs/tools/security/plasma-pass/default.nix
new file mode 100644
index 00000000000..20f64b725f1
--- /dev/null
+++ b/pkgs/tools/security/plasma-pass/default.nix
@@ -0,0 +1,41 @@
+{ mkDerivation, lib, fetchFromGitLab, cmake, extra-cmake-modules
+, ki18n
+, kitemmodels
+, oathToolkit
+, qgpgme
+, plasma-framework
+, qt5 }:
+
+mkDerivation rec {
+  pname = "plasma-pass";
+  version = "1.2.0";
+
+  src = fetchFromGitLab {
+    domain = "invent.kde.org";
+    owner = "plasma";
+    repo = "plasma-pass";
+    rev = "v${version}";
+    sha256 = "1w2mzxyrh17x7da62b6sg1n85vnh1q77wlrfxwfb1pk77y59rlf1";
+  };
+
+  buildInputs  = [
+    ki18n
+    kitemmodels
+    oathToolkit
+    qgpgme
+    plasma-framework
+    qt5.qtbase
+    qt5.qtdeclarative
+  ];
+
+  nativeBuildInputs = [ cmake extra-cmake-modules ];
+
+  meta = with lib; {
+    description = "A Plasma applet to access passwords from pass, the standard UNIX password manager";
+    homepage = "https://invent.kde.org/plasma/plasma-pass";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ matthiasbeyer ];
+    platforms = platforms.unix;
+  };
+}
+