unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37029] [PATCH] Add fet
@ 2019-08-14 15:38 Nicolas Goaziou
  2019-08-23 21:34 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2019-08-14 15:38 UTC (permalink / raw)
  To: 37029

[-- Attachment #1: Type: text/plain, Size: 88 bytes --]

Hello,

The following patch adds FET.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add FET --]
[-- Type: text/x-diff, Size: 2353 bytes --]

From c77ce398324f2fc90332e19820d638ed7b055c50 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Wed, 14 Aug 2019 17:35:47 +0200
Subject: [PATCH] gnu: Add fet.

* gnu/packages/education.scm (fet): New variable.
---
 gnu/packages/education.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 0bb9c099fb..440746a28c 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -480,3 +480,43 @@ use the computer and at the same time teach them a little math,
 letters of the alphabet, spelling, eye-hand coordination, etc.")
     (home-page "http://www.schoolsplay.org")
     (license license:gpl3+)))
+
+(define-public fet
+  (package
+    (name "fet")
+    (version "5.39.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.lalescu.ro/liviu/fet/download/"
+                                  "fet-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "100bmggkychqs2cavqxy7015lr4icw6k99qb03im0v4jasqqmyix"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-hardcoded-directories
+           (lambda* (#:key outputs #:allow-other-keys)
+             (substitute* (list "fet.pro"
+                                "src/src.pro"
+                                "src/src-cl.pro"
+                                "src/interface/fet.cpp")
+               (("/usr") (assoc-ref outputs "out")))
+             #t))
+         (replace 'configure
+           (lambda _ (invoke "qmake" "fet.pro"))))))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (home-page "https://www.lalescu.ro/liviu/fet/")
+    (synopsis "Timetabling software")
+    (description "FET is a program for automatically scheduling the
+timetable of a school, high-school or university.  It uses a fast and
+efficient timetabling algorithm.
+
+Usually, FET is able to solve a complicated timetable in maximum 5-20
+minutes.  For simpler timetables, it may take a shorter time, under
+5 minutes (in some cases, a matter of seconds).  For extremely
+difficult timetables, it may take a longer time, a matter of hours.")
+    (license license:agpl3+)))
+
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#37029] [PATCH] Add fet
  2019-08-14 15:38 [bug#37029] [PATCH] Add fet Nicolas Goaziou
@ 2019-08-23 21:34 ` Ludovic Courtès
  2019-08-24 14:54   ` bug#37029: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-08-23 21:34 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 37029

Hi Nicolas,

Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:

>>From c77ce398324f2fc90332e19820d638ed7b055c50 Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> Date: Wed, 14 Aug 2019 17:35:47 +0200
> Subject: [PATCH] gnu: Add fet.
>
> * gnu/packages/education.scm (fet): New variable.

LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37029: [PATCH] Add fet
  2019-08-23 21:34 ` Ludovic Courtès
@ 2019-08-24 14:54   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-08-24 14:54 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 37029-done

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

>> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
>> Date: Wed, 14 Aug 2019 17:35:47 +0200
>> Subject: [PATCH] gnu: Add fet.
>>
>> * gnu/packages/education.scm (fet): New variable.
>
> LGTM, thanks!
>
Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-24 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-14 15:38 [bug#37029] [PATCH] Add fet Nicolas Goaziou
2019-08-23 21:34 ` Ludovic Courtès
2019-08-24 14:54   ` bug#37029: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).