summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-13 22:04:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-20 09:39:56 +0200
commitf6b8bd6eb7546382070e8c34124addc305e94673 (patch)
treeca9568ffc400efca9f1bbe1bf1b085da2db7d079 /gnu
parentd1095c47f1bedcc10f8bc10d80b7f2de3ad8989b (diff)
downloadguix-f6b8bd6eb7546382070e8c34124addc305e94673.tar.gz
gnu: Add node-oop.
* gnu/packages/node-xyz.scm (node-oop): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/node-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 3e115970a5..b423e3267f 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -91,6 +91,31 @@ user-land JavaScript.")
 random number generator.")
     (license license:bsd-3)))
 
+(define-public node-oop
+  ;; No releases, last commit was February 2013.
+  (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")
+        (revision "1"))
+    (package
+      (name "node-oop")
+      (version (git-version "0.0.0" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://github.com/felixge/node-oop")
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32
+            "0mqrcf0xi2jbwffwkk00cljpqfsri1jk8s6kz8jny45apn7zjds1"))))
+      (build-system node-build-system)
+      (arguments '(#:tests? #f)) ; Tests run during build phase.
+      (home-page "https://github.com/felixge/node-oop")
+      (synopsis "Simple, light-weight oop module for Node")
+      (description "This library tries to bring basic oop features to JavaScript
+while being as light-weight and simple as possible.")
+      (license license:expat))))
+
 (define-public node-statsd-parser
   (package
     (name "node-statsd-parser")