nixpkgs/pkgs/tools/security/fpm2/default.nix
Sergei Trofimovich aa0956415e fpm2: 0.79 -> 0.90
Among other things switched from gtk2 to gtk3 and fixed build failure
against upstream gcc-10:

    ld: sha256.o:src/fpm.h:187: multiple definition of
      `ini'; main.o:src/fpm.h:187: first defined here

changelog: https://als.regnet.cz/fpm2/changelog
2022-06-11 14:40:28 +01:00

27 lines
726 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gnupg, gtk3
, libxml2, intltool, nettle
}:
with lib;
stdenv.mkDerivation rec {
pname = "fpm2";
version = "0.90";
src = fetchurl {
url = "https://als.regnet.cz/fpm2/download/fpm2-${version}.tar.xz";
sha256 = "1lfzja3vzd6l6hfvw8gvg4qkl5iy6gra5pa8gjlps9l63k2bjfhz";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gnupg gtk3 libxml2 intltool nettle ];
meta = {
description = "GTK2 port from Figaro's Password Manager originally developed by John Conneely, with some new enhancements";
homepage = "https://als.regnet.cz/fpm2/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ hce ];
};
}