Subject: [bug#75758] [PATCH] gnu: Remove arachne-pnr.

From: Cayetano Santos <[email-masked]>
Date: Wed, 22 Jan 2025 12:35:26 +0100

* gnu/packages/fpga.scm (arachne-pnr): Delete variable.

Change-Id: I86a42633de96af04499106aabca43bfab4b35f24
---

Arachne README.md states that this code is not maintained anymore, and advices to replace it by nextpnr.

 gnu/packages/fpga.scm | 42 ------------------------------------------
 1 file changed, 42 deletions(-)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index fadf72ba1d..4af701bc14 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -402,48 +402,6 @@ (define-public nextpnr-ice40
       (home-page "https://github.com/YosysHQ/nextpnr")
       (license license:expat))))
 
-(define-public arachne-pnr
-  (let ((commit "840bdfdeb38809f9f6af4d89dd7b22959b176fdd")
-        (revision "2"))
-   (package
-    (name "arachne-pnr")
-    (version (string-append "0.0-" revision "-" (string-take commit 9)))
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/YosysHQ/arachne-pnr")
-                     (commit commit)))
-              (file-name (git-file-name name version))
-              (sha256
-                (base32
-                   "1dqvjvgvsridybishv4pnigw9gypxh7r7nrqp9z9qq92v7c5rxzl"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:test-target "test"
-       #:make-flags
-       (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
-             (string-append "ICEBOX=" (string-append
-                                       (assoc-ref %build-inputs "icestorm")
-                                       "/share/icebox")))
-       #:phases (modify-phases %standard-phases
-       (replace 'configure
-         (lambda* (#:key outputs inputs #:allow-other-keys)
-           (substitute* '("./tests/fsm/generate.py"
-                          "./tests/combinatorial/generate.py")
-             (("#!/usr/bin/python") "#!/usr/bin/python2"))
-           #t)))))
-    (inputs
-     (list icestorm))
-    (native-inputs
-     `(("git" ,git)  ; for determining its own version string
-       ("yosys" ,yosys) ; for tests
-       ("perl" ,perl) ; for shasum
-       ("python-2" ,python-2))) ; for tests
-    (home-page "https://github.com/YosysHQ/arachne-pnr")
-    (synopsis "Place-and-Route tool for FPGAs")
-    (description "Arachne-PNR is a Place-and-Route Tool For FPGAs.")
-    (license license:gpl2))))
-
 (define-public gtkwave
   (package
     (name "gtkwave")

base-commit: 49cb321eb799ef9da82ba83a0a0e0db4b1a72f51
--
2.47.1