nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 gnupg,
7 gtk3,
8 libxml2,
9 intltool,
10 nettle,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 pname = "fpm2";
15 version = "0.90.1";
16
17 src = fetchurl {
18 url = "https://als.regnet.cz/fpm2/download/fpm2-${finalAttrs.version}.tar.xz";
19 sha256 = "sha256-G6PF5wlEc19jtqOxBTp/10dQiFYPDO/W6v9Oyzz1lZA=";
20 };
21
22 nativeBuildInputs = [
23 pkg-config
24 intltool
25 ];
26 buildInputs = [
27 gnupg
28 gtk3
29 libxml2
30 nettle
31 ];
32
33 meta = {
34 description = "GTK2 port from Figaro's Password Manager originally developed by John Conneely, with some new enhancements";
35 mainProgram = "fpm2";
36 homepage = "https://als.regnet.cz/fpm2/";
37 license = lib.licenses.gpl2Plus;
38 platforms = lib.platforms.linux;
39 maintainers = with lib.maintainers; [ hce ];
40 };
41})