~ruther/guix-local

6ee8c93430f611e8d933ec8887aee8aae9b1b019 — Cayetano Santos 5 months ago 7de0b45
gnu: python-hdlmake: Update to 4.0.

* gnu/packages/electronics.scm (python-hdlmake): Update to 4.0.
[native-inputs]: Remove python-pytest; add python-pytest-cov.

Change-Id: Ieed0d4e1f32e359149b52840f36d1aa5671d7eb9
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
1 files changed, 27 insertions(+), 28 deletions(-)

M gnu/packages/electronics.scm
M gnu/packages/electronics.scm => gnu/packages/electronics.scm +27 -28
@@ 1637,36 1637,35 @@ some tool-specific options are set.")
    (license license:bsd-2)))

(define-public python-hdlmake
  ;; Version bump to 4.0dev2, no tag.
  (let ((commit "1d81071bf19b8f9c930e31731c5c847837591cb8")
        (revision "0"))
    (package
      (name "python-hdlmake")
      (version (git-version "4.0dev2" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://gitlab.com/ohwr/project/hdl-make/")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "1l2j86z5smfxw9b842xcbijgl7nvkx3grw5hm54wvv3hkgyp30fn"))))
      (build-system pyproject-build-system)
      (arguments (list #:phases #~(modify-phases %standard-phases
                                    (add-before 'check 'chdir
                                      (lambda _
                                        (chdir "testsuite"))))
                       #:test-flags #~(list "test_all.py")))
      (native-inputs (list python-pytest python-setuptools))
      (propagated-inputs (list python-networkx))
      (home-page "https://ohwr.gitlab.io/project/hdl-make/")
      (synopsis "Generate multi-purpose makefiles for HDL projects")
      (description
       "Hdlmake helps manage and share @acronym{HDL, hardware description
  (package
    (name "python-hdlmake")
    (version "4.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://gitlab.com/ohwr/project/hdl-make/")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1mbsm1j058j3wjp0hypd7a9d1xh3xsmy9p3jl9xcpnzjmncm34xr"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases #~(modify-phases %standard-phases
                   (add-before 'check 'chdir
                     (lambda _
                       (chdir "testsuite"))))
      #:test-flags #~(list "test_all.py")))
    (native-inputs (list python-pytest-cov python-setuptools))
    (propagated-inputs (list python-networkx))
    (home-page "https://ohwr.gitlab.io/project/hdl-make/")
    (synopsis "Generate multi-purpose makefiles for HDL projects")
    (description
     "Hdlmake helps manage and share @acronym{HDL, hardware description
language} code by automatically finding file dependencies, writing synthesis
and simulation Makefiles.")
      (license license:gpl3+))))
    (license license:gpl3+)))

(define-public python-migen
  ;; XXX: The latest version tag (0.9.2) was placed in 2019, there are latest