ceph-csi: init at 3.3.1 (#123472)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Johan Thomsen 2021-06-27 17:16:00 +02:00 committed by GitHub
parent e34f40b92b
commit df7bc16974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, lib, go, ceph, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ceph-csi";
version = "3.3.1";
nativeBuildInputs = [ go ];
buildInputs = [ ceph ];
src = fetchFromGitHub {
owner = "ceph";
repo = "ceph-csi";
rev = "v${version}";
sha256 = "16nh4bh8a9s2zbxnnhq1ldww4dzp2fmf5idgq99vkyw2kfp017lf";
};
preConfigure = ''
export GOCACHE=$(pwd)/.cache
'';
installPhase = ''
mkdir -p $out/bin
cp ./_output/* $out/bin
'';
meta = with lib; {
homepage = "https://ceph.com/";
description = "Container Storage Interface (CSI) driver for Ceph RBD and CephFS";
license = [ licenses.asl20 ];
maintainers = with maintainers; [ johanot ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

View File

@ -3566,6 +3566,8 @@ in
nrg2iso = callPackage ../tools/cd-dvd/nrg2iso { };
ceph-csi = callPackage ../tools/filesystems/ceph-csi { };
libceph = ceph.lib;
inherit (callPackages ../tools/filesystems/ceph {
boost = boost17x.override { enablePython = true; python = python3; };