bcachefs-tools: 2017-08-28 -> 2018-02-08

This commit is contained in:
dywedir 2018-02-10 00:34:42 +02:00
parent 84a6d8a718
commit 2f0e3327ea

View File

@ -1,29 +1,25 @@
{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium, keyutils, liburcu, zlib, libaio }:
{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
, keyutils, liburcu, zlib, libaio }:
stdenv.mkDerivation rec {
name = "bcachefs-tools-unstable-2017-08-28";
name = "bcachefs-tools-unstable-2018-02-08";
src = fetchgit {
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
rev = "b1814f2dd0c6b61a12a2ebb67a13d406d126b227";
sha256 = "05ba1h09rrqj6vjr3q37ybca3nbrmnifmffdyk83622l28fpv350";
rev = "fc96071b58c28ea492103e7649c0efd5bab50ead";
sha256 = "0a2sxkz0mkmvb5g4k2v8g2c89dj29haw9bd3bpwk0dsfkjif92vy";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio ];
preConfigure = ''
substituteInPlace cmd_migrate.c --replace /usr/include/dirent.h ${stdenv.lib.getDev stdenv.cc.libc}/include/dirent.h
'';
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Tool for managing bcachefs filesystems";
homepage = http://bcachefs.org/;
homepage = https://bcachefs.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ davidak ];
platforms = platforms.linux;
};
}