My first patch ever to a software project. How did I do?
If okay I would like to avoid providing my legal name.
From 53832a06a61801e9996252506aacad468d54f071 Mon Sep 17 00:00:00 2001
From: swedebugia <swedebu...@riseup.net>
Date: Mon, 28 Dec 2015 15:04:21 +0100
Subject: [PATCH] gnu: Add slurm

---
 gnu/packages/networking.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0a7cde0..d84551d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015 Ricardo Wurmus <rek...@elephly.net>
 ;;; Copyright © 2015 Mark H Weaver <m...@netris.org>
 ;;; Copyright © 2015 Stefan Reichör <ste...@xsteve.at>
+;;; Copyright © 2015 swedebugia <swedebu...@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -187,3 +188,23 @@ needed/wanted real-time traffic statistics of multiple network
 interfaces, with a simple and efficient view on the command line.  It is
 intended as a substitute for the PPPStatus and EthStatus projects.")
     (license license:gpl2+)))
+
+(define-public slurm
+  (package
+    (name "slurm")
+    (version "0.4.3")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "https://github.com/mattthias/slurm/archive/upstream/";
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "1b53sckvg1j8510gi4bc48q61191jcc1nvhp5k8f2ywj2p9c0q5r"))))
+    (build-system gnu-build-system)
+     (inputs `(("ncurses" ,ncurses)
+    (home-page "https://github.com/mattthias/slurm";)
+    (synopsis "yet another network load monitor")
+    (description
+     "slurm is a generic network load monitor for *BSD, Linux, HP-UX and Solaris. It features 3 graph modes with curses ascii graphics, traffic statistics and works on any interface supported by the kernel.")
+    (license gpl2+)))
-- 
1.9.1

Reply via email to