fpm2.scm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. (define-module (fpm2)
  2. #:use-module (guix packages)
  3. #:use-module (guix download)
  4. #:use-module (guix build-system gnu)
  5. #:use-module (guix licenses)
  6. #:use-module (gnu packages pkg-config)
  7. #:use-module (gnu packages gtk)
  8. #:use-module (gnu packages gnupg)
  9. #:use-module (gnu packages xml)
  10. #:use-module (gnu packages glib))
  11. ;; TODO: Add some files to either POTFILES.in or POTFILES.skip. see guix
  12. ;; build failure
  13. (define-public fpm2
  14. (package
  15. (name "fpm2")
  16. (version "0.79")
  17. (source (origin
  18. (method url-fetch)
  19. (uri (string-append "http://als.regnet.cz/fpm2/download/fpm2-"
  20. version ".tar.bz2"))
  21. (sha256
  22. (base32
  23. "19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm"))))
  24. (build-system gnu-build-system)
  25. (inputs `(("gtk2" ,gtk+-2)
  26. ("gnupg" ,gnupg)
  27. ("libxml2" ,libxml2)))
  28. (native-inputs `(("pkgconfig" ,pkg-config)
  29. ("intltool" ,intltool)))
  30. (arguments
  31. '(#:phases
  32. (modify-phases %standard-phases
  33. (add-before 'configure 'pre-configure
  34. (lambda ()
  35. (let ((potfiles-include (open-output-file "po/POTFILES.in")))
  36. (display "data/fpm2.desktop.in" potfiles-include)
  37. (newline potfiles-include)
  38. (display "fpm2.glade" potfiles-include)
  39. (newline potfiles-include)))))))
  40. (synopsis "Manages, generates and stores passwords encrypted")
  41. (description "FPM2 is GTK2 port from Figaro's Password Manager originally
  42. developed by John Conneely, with some new enhancements.")
  43. (home-page "http://als.regnet.cz/fpm2/")
  44. (license gpl2)))