From aecb61135c2edba236318b61fd0ac81832852a15 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 7 Sep 2020 12:54:16 +0200 Subject: [PATCH] gnu: Add nbd. * gnu/packages/networking.scm (nbd): New variable. --- gnu/packages/networking.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index b57634bb69..2530c540d7 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3762,3 +3762,28 @@ hashcash stamps efficiently. This package contains a command-line tool for computing and verifying hashcash stamps.") (license license:public-domain))) + +(define-public nbd + (package + (name "nbd") + (version "3.20") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/nbd/nbd/3.20/nbd-" version + ".tar.xz")) + (sha256 + (base32 + "1kfnyx52nna2mnw264njk1dl2zc8m78sz031yp65mbmpi99v7qg0")))) + (build-system gnu-build-system) + (inputs + `(("glib" ,glib))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("which" ,which))) + (home-page "https://nbd.sourceforge.io/") + (synopsis "NBD client and server") + (description "This package provides the NBD (Network Block Devices) +client and server. It allows you to use remote block devices over a TCP/IP +network.") + (license license:gpl2)))