1{ lib, stdenv, fetchurl, pkg-config, gnupg, gtk3
2, libxml2, intltool, nettle
3}:
4
5stdenv.mkDerivation rec {
6 pname = "fpm2";
7 version = "0.90";
8
9 src = fetchurl {
10 url = "https://als.regnet.cz/fpm2/download/fpm2-${version}.tar.xz";
11 sha256 = "1lfzja3vzd6l6hfvw8gvg4qkl5iy6gra5pa8gjlps9l63k2bjfhz";
12 };
13
14 nativeBuildInputs = [ pkg-config intltool ];
15 buildInputs = [ gnupg gtk3 libxml2 nettle ];
16
17 meta = with lib; {
18 description = "GTK2 port from Figaro's Password Manager originally developed by John Conneely, with some new enhancements";
19 mainProgram = "fpm2";
20 homepage = "https://als.regnet.cz/fpm2/";
21 license = licenses.gpl2Plus;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ hce ];
24 };
25}