~ruther/guix-local

f3d2705f64ac3ef2dcdcd0d48eed413fb1fdab40 — Cayetano Santos 29 days ago b57b68a
gnu: ieee-p1076: Move to hdl.

* gnu/packages/electronics.scm (ieee-p1076): Move from here ...
* gnu/packages/hdl.scm: ... to here.

Change-Id: Ie3c6dcfcf7df9fff176d701c010f525aa0d283c6
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2 files changed, 39 insertions(+), 37 deletions(-)

M gnu/packages/electronics.scm
M gnu/packages/hdl.scm
M gnu/packages/electronics.scm => gnu/packages/electronics.scm +0 -36
@@ 403,42 403,6 @@ that a synthesis tool has not introduced functional changes into a design, or
ensuring that a design refactor preserves correctness in all conditions.")
    (license license:isc)))

(define-public ieee-p1076
  (package
    (name "ieee-p1076")
    (version "2019")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://opensource.ieee.org/vasg/Packages/")
             (commit (string-append "1076-" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn"))))
    (build-system copy-build-system)
    (native-inputs (list python-minimal-wrapper nvc python-vunit))
    (arguments
     (list
      ;; Not all 2019 features are supported by nvc compiler.
      ;; pass 1055 of 1648
      #:tests? #f
      #:install-plan
      #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl"))
          ("std" "share/ieee-p1076/std" #:include ("vhdl")))))
    (native-search-paths
     (list (search-path-specification
             (variable "FW_IEEE_p1076")
             (separator #f)
             (files (list "share/ieee-p1076")))))
    (home-page "https://IEEE-P1076.gitlab.io")
    (synopsis "VHDL libraries corresponding to the IEEE 1076 standard")
    (description
     "Open source materials intended for reference by the IEEE standard 1076,
as approved and published by the @acronym{VHDL, Very High Speed Hardware
Description Language} Analysis and Standardization Group.")
    (license license:asl2.0)))

(define-public fftgen
  (let ((commit "3378b77d83a98b06184656a5cb9b54e50dfe4485") ;no releases
        (revision "1"))

M gnu/packages/hdl.scm => gnu/packages/hdl.scm +39 -1
@@ 22,7 22,45 @@
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix packages)
  #:use-module (gnu packages electronics))
  #:use-module (gnu packages electronics)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-xyz))

(define-public ieee-p1076
  (package
    (name "ieee-p1076")
    (version "2019")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://opensource.ieee.org/vasg/Packages/")
              (commit (string-append "1076-" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn"))))
    (build-system copy-build-system)
    (native-inputs (list python-minimal-wrapper nvc python-vunit))
    (arguments
     (list
      ;; Not all 2019 features are supported by nvc compiler.
      ;; pass 1055 of 1648
      #:tests? #f
      #:install-plan
      #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl"))
          ("std" "share/ieee-p1076/std" #:include ("vhdl")))))
    (native-search-paths
     (list (search-path-specification
             (variable "FW_IEEE_p1076")
             (separator #f)
             (files (list "share/ieee-p1076")))))
    (home-page "https://IEEE-P1076.gitlab.io")
    (synopsis "VHDL libraries corresponding to the IEEE 1076 standard")
    (description
     "Open source materials intended for reference by the IEEE standard 1076,
as approved and published by the @acronym{VHDL, Very High Speed Hardware
Description Language} Analysis and Standardization Group.")
    (license license:asl2.0)))

(define-public neorv32
  (package