summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-04 00:17:49 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-04 00:17:49 +0100
commit686f14e8a45b06e0b27cc6100b60a475e6970fe6 (patch)
treea7e2b5325e93616363817e1a990ca89fa38f733a
parent7eba5e6361b637a4c8aecbb13644f573a845732b (diff)
downloadguix-686f14e8a45b06e0b27cc6100b60a475e6970fe6.tar.gz
distro: Add psmisc.
* distro/packages/linux.scm (psmisc): New variable.
-rw-r--r--distro/packages/linux.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm
index 54a0606a11..3048181ecd 100644
--- a/distro/packages/linux.scm
+++ b/distro/packages/linux.scm
@@ -21,6 +21,7 @@
   #:use-module (guix download)
   #:use-module (distro packages flex)
   #:use-module (distro packages perl)
+  #:use-module (distro packages ncurses)
   #:use-module (guix build-system gnu))
 
 (define-public linux-libre-headers
@@ -104,3 +105,26 @@ Pluggable authentication modules are small shared object files that can
 be used through the PAM API to perform tasks, like authenticating a user
 at login.  Local and dynamic reconfiguration are its key features")
     (license "BSD")))
+
+(define-public psmisc
+  (package
+    (name "psmisc")
+    (version "22.20")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://sourceforge/psmisc/psmisc/psmisc-"
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "052mfraykmxnavpi8s78aljx8w87hyvpx8mvzsgpjsjz73i28wmi"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://psmisc.sourceforge.net/")
+    (synopsis
+     "set of utilities that use the proc filesystem, such as fuser, killall, and pstree")
+    (description
+     "This PSmisc package is a set of some small useful utilities that
+use the proc filesystem. We're not about changing the world, but
+providing the system administrator with some help in common tasks.")
+    (license "GPLv2+")))