I'm trying to package wxformbuilder, the lastest stable
version. The programs seems do depend on version information
from git, so it does not build on the guix system.

CMake Warning at /tmp/guix-build-wxformbuilder-4.2.1.drv-
0/source/cmake/revision-git-properties.cmake:57 (message):
  Git information file contents unknown:
git.commit.id.abbrev=$Format:%h$

CMake Error at /tmp/guix-build-wxformbuilder-4.2.1.drv-
0/source/cmake/revision-git-properties.cmake:60 (message):
  Git information file contains no revision


(define-public wxformbuilder
  (package
    (name "wxformbuilder")
    (version "4.2.1")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/wxFormBuilder/wxFormBuilder/";)
              (commit "v4.2.1")
              (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256 (base32
"0rax8hxfrvl3dl76p8a16ypidf7548vj5iw1yyk9c356ph6r2psn"))))
    (build-system cmake-build-system)
    ;;; guessed
    (inputs
     (list wxwidgets boost))
    (native-inputs
     (list pkg-config))
     ;;;; end of block
    (arguments (list #:configure-flags #~(list "")
                     #:tests? #f
                     #:build-type "Release"))
    (home-page "https://github.com/wxFormBuilder/wxFormBuilder/";)
    (synopsis "GUI builder for the wxWidgets framework")
    (description "Code generation is supported for C++, Python, Lua and
PHP. Additionally, the import and export of XRC code is possible. To
support additional widgets, custom plugins can be used.")
    (license l:gpl2+)))




Reply via email to