From patchwork Thu Mar 12 01:13:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 20641 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C909527BBEA; Thu, 12 Mar 2020 01:14:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4C97827BBE4 for ; Thu, 12 Mar 2020 01:14:11 +0000 (GMT) Received: from localhost ([::1]:60256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCCQM-00070J-Ln for patchwork@mira.cbaines.net; Wed, 11 Mar 2020 21:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60990) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCCQF-0006zN-5U for guix-patches@gnu.org; Wed, 11 Mar 2020 21:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCCQD-0006RI-Ur for guix-patches@gnu.org; Wed, 11 Mar 2020 21:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCCQD-0006Qs-Rm for guix-patches@gnu.org; Wed, 11 Mar 2020 21:14:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCCQD-0003UA-NL for guix-patches@gnu.org; Wed, 11 Mar 2020 21:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40032] [PATCH] gnu: Add nvme-cli Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Mar 2020 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40032@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158397560413310 (code B ref -1); Thu, 12 Mar 2020 01:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2020 01:13:24 +0000 Received: from localhost ([127.0.0.1]:55738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCCPc-0003Sc-HU for submit@debbugs.gnu.org; Wed, 11 Mar 2020 21:13:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:52183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCCPa-0003ST-FM for submit@debbugs.gnu.org; Wed, 11 Mar 2020 21:13:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60946) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCCPZ-0006xo-5a for guix-patches@gnu.org; Wed, 11 Mar 2020 21:13:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCCPX-0004ej-W9 for guix-patches@gnu.org; Wed, 11 Mar 2020 21:13:21 -0400 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]:40299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCCPX-0004cQ-Ox for guix-patches@gnu.org; Wed, 11 Mar 2020 21:13:19 -0400 Received: by mail-il1-x12a.google.com with SMTP id g6so3919670ilc.7 for ; Wed, 11 Mar 2020 18:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=M4R5Bk4xRuWte+TD5LRCTlyB96+PVMHA/bdUl/uxMcc=; b=JegA7IDjGeMMaE3SrMpLe5UwlJOnF+TEsk6F+goypM1xHgIhXP+U8p5pVIE/98TMD2 a8/2RXt5PVwR8E+qLGLYbhaB1GmQfWbYxy1HIFxyP+OsgfJkYEq7loukGVzM0yNezvd2 VwSLIdM3RI9w8JrCFIaIhDhgtxFH8ngurPJSzBK81FzuMAM8+ZC5hLjaGY9R5nW80kip H+fpjiHu6Zi5t3ujc3DLl2fZqAt29A1EANk3IifJoL+JQd4s8IBKXNZgywM0XfqcO1c7 bY0tHR+hmRGZR/BPrUimFG5PorkjM+DuhxXJ0m7emJ2wbl7jNYsmfzqa2vyFic/Iwrqb qogA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M4R5Bk4xRuWte+TD5LRCTlyB96+PVMHA/bdUl/uxMcc=; b=YnxDmbBtRIQibYLi9tz62rCHrIjvc9IhLGA4wjY7FJf92cFYVnHKSs+emBkCAd3kWq EIZwxO0ldM4fRsT2Ir7btLoVHZUGmjKb37ftp01gTKy0MtcIMTZE1LelfEnNFoY3zl2b IgifRqPWNT9zAVRRs5jw/tzO1AFTIYpDyLnCkzsY7TPEfNOvrIXkaWhb/2vp4QxDz2y9 Ddlsroq/TLaqlBGPMCJB9MLXhDwSVZ1jXtZwCy40lsGcEl8S/iW4rl2hVxhYwShEy0jP Y9P1DPa9bYgzUFIVXdm49uK4OC/7suWmJ8UxYOOVtE2k1ivG0B1kvbWrMPvkM9Y3TKwh NE3w== X-Gm-Message-State: ANhLgQ2jUmGb6QSV5OohTXnA/NwjfXXEJyuJ1TQWsVDo5ddppXPNUE5S GnwIH6xSb8JbZy7fp+HglC3xo6nkSBTY8GX5JV6p5A== X-Google-Smtp-Source: ADFU+vvLbcPmMY1I1+tdxhJU+ODRwL/YUtbRuzit8o0AmKd7pDEraw/gBqfzs7vyTBNnpzm/qR0Pnz1IGoApENp/vB8= X-Received: by 2002:a92:d8cc:: with SMTP id l12mr5381507ilo.92.1583975598740; Wed, 11 Mar 2020 18:13:18 -0700 (PDT) MIME-Version: 1.0 From: Vincent Legoll Date: Thu, 12 Mar 2020 02:13:06 +0100 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Lightly tested (list & list-subsys commands) on real hardware. Guix pack'ed the binary and copied out of the VM to run (in debian) From 9c836b206d65c0e80706c0a3730e77f508b10f43 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Thu, 12 Mar 2020 01:51:12 +0100 Subject: [PATCH] gnu: Add nvme-cli * gnu/packages/linux.scm (nvme-cli): New variable. --- gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b6048a8cfb..d7b31103c8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3544,6 +3544,35 @@ IDE driver subsystem. Many external USB drive enclosures with SCSI-ATA Command Translation (@dfn{SAT}) are also supported.") (license (license:non-copyleft "file://LICENSE.TXT")))) +(define-public nvme-cli + (package + (name "nvme-cli") + (version "1.10.1") + (home-page "https://github.com/linux-nvme/nvme-cli") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "12wp2wxmsw2v8m9bhvwvdbhdgx1md8iilhbl19sfzz2araiwi2x8")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (zero? (system* "make" "install-spec" "PREFIX=" + (string-append "DESTDIR=" %output)))))) + #:tests? #f)) + (synopsis "NVM-Express user space tooling for Linux") + (description "Utility to provide standards compliant tooling for NVM-Express +drives. It was made specifically for Linux as it relies on the IOCTLs defined +by the mainline kernel driver.") + (license license:gpl2+))) + (define-public rfkill (package (name "rfkill") -- 2.25.1