unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: qblade via Guix-patches via <guix-patches@gnu.org>
To: 46651@debbugs.gnu.org
Subject: [bug#46651] New package: vmtouch
Date: Sat, 20 Feb 2021 01:26:23 +0000	[thread overview]
Message-ID: <Esn-FOxuJF72cASCJyqRijvNL9GJHuJBpUsf4o4gsVjcrCVG6wBpaeSIcRP3ytrQWbTyd-WAiO2_-krFBPMKoi0t90cn6Pegy-dC27hz0WM=@protonmail.com> (raw)

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

Hi everyone, I added a new package.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-add-vmtouch.patch --]
[-- Type: text/x-patch; name=0001-gnu-add-vmtouch.patch, Size: 2145 bytes --]

From 7d89493a2151fe59fdeeb46a6911af3ba6ef2fc4 Mon Sep 17 00:00:00 2001
From: qblade <qblade@protonmail.com>
Date: Sat, 20 Feb 2021 01:21:24 +0000
Subject: [PATCH] gnu: add vmtouch.

* gnu/packages/admin.scm (vmtouch): New variable.
---
 gnu/packages/admin.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index a6cf633baa..161a83c710 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2021 qblade <qblade@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4383,3 +4384,34 @@ the XMODEM/YMODEM/ZMODEM file transfer protocols.")
 setup, maintenance, supervision, or any long-running processes.")
     (home-page "https://github.com/leahneukirchen/nq")
     (license license:public-domain)))
+
+(define-public vmtouch
+  (package
+    (name "vmtouch")
+    (version "1.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hoytech/vmtouch/")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "08da6apzfkfjwasn4dxrlfxqfx7arl28apdzac5nvm0fhvws0dxk"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("perl" ,perl)))
+    (arguments
+     `(#:tests? #f ; no tests
+       #:make-flags
+       (list
+        (string-append "CC=" ,(cc-for-target))
+        (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (home-page "https://github.com/hoytech/vmtouch/")
+    (synopsis "The Virtual Memory Toucher")
+    (description "vmtouch is a tool for learning about and controlling
+the file system cache of unix and unix-like systems.")
+    (license license:bsd-3)))
-- 
2.29.2


             reply	other threads:[~2021-02-20  7:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20  1:26 qblade via Guix-patches via [this message]
2021-02-21  0:45 ` [bug#46651] New package: vmtouch Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Esn-FOxuJF72cASCJyqRijvNL9GJHuJBpUsf4o4gsVjcrCVG6wBpaeSIcRP3ytrQWbTyd-WAiO2_-krFBPMKoi0t90cn6Pegy-dC27hz0WM=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=46651@debbugs.gnu.org \
    --cc=qblade@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).