unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67495] [PATCH] gnu: add package ocaml-tsort
@ 2023-11-27 19:54 Gabriel Hondet via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Gabriel Hondet via Guix-patches via @ 2023-11-27 19:54 UTC (permalink / raw)
  To: 67495


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



[-- Attachment #1.2: 0001-PATCH-gnu-add-package-ocaml-tsort.patch --]
[-- Type: text/plain, Size: 1732 bytes --]

From cdf5a9ef1a241fa6b8d13ada5d8ad5705b6efd79 Mon Sep 17 00:00:00 2001
Message-ID: <cdf5a9ef1a241fa6b8d13ada5d8ad5705b6efd79.1701114505.git.gabriel.hondet@cominety.net>
From: Gabriel Hondet <gabriel.hondet@cominety.net>
Date: Mon, 27 Nov 2023 20:46:51 +0100
Subject: [PATCH] [PATCH] gnu: add package ocaml-tsort

Change-Id: I659433d73e1f43e58844f432b9d1d8e1d3047bb7
---
 gnu/packages/ocaml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7993dbaa73..7393f58a6a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5207,6 +5207,27 @@ (define-public ocaml-graph
     (description "OCamlgraph is a generic graph library for OCaml.")
     (license license:lgpl2.1)))
 
+(define-public ocaml-tsort
+  (package
+    (name "ocaml-tsort")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dmbaturin/ocaml-tsort")
+             (commit "2.1.0")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "07m88nxb9w6wv64h18xyz7js6flpglkk5c8lhs8wgh46r13p89s8"))))
+    (build-system dune-build-system)
+    (home-page "https://github.com/dmbaturin/ocaml-tsort")
+    (synopsis "Easy to use and user-friendly topological sort")
+    (description
+     "Easy to use and user-friendly topological sort.  Example: @code{Tsort.sort
+[(\"foundation\", []); (\"walls\", [\"foundation\"]); (\"roof\", [\"walls\"])]}")
+    (license license:expat)))
+
 (define-public ocaml-piqi
   (package
     (name "ocaml-piqi")

base-commit: b150c546b04c9ebb09de9f2c39789221054f5eea
-- 
2.43.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-27 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 19:54 [bug#67495] [PATCH] gnu: add package ocaml-tsort Gabriel Hondet via Guix-patches via

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).