[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fpm2 package derivation
From: |
Thomas Sigurdsen |
Subject: |
[PATCH] fpm2 package derivation |
Date: |
Fri, 30 Jun 2017 23:13:51 +0200 |
Hi, just managed to make this work, ran it through guix lint and think it
should be allright. With that said I'm more than happy for feedback seeing as
I'm a guile newbie and never contributed much to anything before (even though
my papers say I have training as a programmer :P ).
Not sure if this is the right place to ask, but I'll go ahead: the previous
version that did not build was this:
https://notabug.org/thomassgn/guixsd-configuration/src/8dd3f613371b7f1ab28111f061f6735646174ee0/modules/tms/fpm2.scm
I don't understand why this did not work and the working definition does. I
arrived at the new working definition by looking at the definition of xfig
and nvi (also in gnu/packages/).
Quite happy just making this derivation install through guix!
Patch:
0001-Add-package-derivation-for-fpm2-v0.79.patch
From a73b8d8351279dadbb11a12097d1dfe488075df9 Mon Sep 17 00:00:00 2001
From: Thomas Sigurdsen <address@hidden>
Date: Fri, 30 Jun 2017 22:54:10 +0200
Subject: [PATCH] Add package derivation for fpm2 v0.79
---
gnu/packages/password-utils.scm | 54
+++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 08591d108..f3e1f0a00 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -446,3 +446,57 @@ use pass, the standard unix password manager, as the
credential backend for your git repositories. This is achieved by explicitly
defining mappings between hosts and entries in the password store.")
(license license:lgpl3+)))
+
+(define-public fpm2
+ (package
+ (name "fpm2")
+ (version "0.79")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://als.regnet.cz/fpm2/download/fpm2-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm"))))
+ (build-system gnu-build-system)
+ (inputs `(("gtk2" ,gtk+-2)
+ ("gnupg" ,gnupg)
+ ("libxml2" ,libxml2)))
+ (native-inputs `(("pkgconfig" ,pkg-config)
+ ("intltool" ,intltool)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'configure 'pre-configure
+ (lambda _
+ (let* ((poinc (open-output-file "po/POTFILES.in")))
+ (begin
+ (newline poinc)
+ (display "data/fpm2.desktop.in" poinc)
+ (newline poinc)
+ (display "data/fpm2.desktop.in.in" poinc)
+ (newline poinc)
+ (display "fpm2.glade" poinc)
+ (newline poinc)
+ (display "src/callbacks.c" poinc)
+ (newline poinc)
+ (display "src/fpm.c" poinc)
+ (newline poinc)
+ (display "src/fpm_file.c" poinc)
+ (newline poinc)
+ (display "src/interface.c" poinc)
+ (newline poinc)
+ (display "src/support.c" poinc)
+ (newline poinc)
+ (display "fpm2.glade" poinc)
+ (newline poinc)
+ (close-port poinc))))))))
+ (synopsis "Manages, generates and stores passwords encrypted")
+ (description "FPM2 is GTK2 port from Figaro's Password Manager
+originally developed by John Conneely, with some new enhancements.
+
+Upstream development seems to have stopped. It is therefore recommended
+to use a different password manager. ")
+ (home-page "http://als.regnet.cz/fpm2/")
+ (license license:gpl2)))
--
2.13.2
0001-Add-package-derivation-for-fpm2-v0.79.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] fpm2 package derivation,
Thomas Sigurdsen <=