14 stdenv.mkDerivation rec {
19 url = "mirror://kernel/linux/utils/fs/xfs/${pname}/${pname}-${version}.tar.xz";
20 sha256 = "sha256-mqt6U6oFzUbtyXJp6/FFaqsrYKuMH/+q+KpJLwtfZRc=";
36 # fixes build against xfsprogs >= 5.18
37 # taken from https://lore.kernel.org/linux-xfs/20220203174540.GT8313@magnolia/
38 # should be included upsteam next release
39 patches = [ ./remove-dmapapi.patch ];
42 substituteInPlace Makefile \
43 --replace "cp include/install-sh ." "cp -f include/install-sh ."
46 # Conifigure scripts don't check PATH, see xfstests derviation
48 export MAKE=$(type -P make)
49 export MSGFMT=$(type -P msgfmt)
50 export MSGMERGE=$(type -P msgmerge)
51 export XGETTEXT=$(type -P xgettext)
54 patchShebangs ./install-sh
58 description = "XFS filesystem incremental dump utility";
59 homepage = "https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/tree/doc/CHANGES";
60 license = licenses.gpl2Only;
61 maintainers = [ maintainers.lunik1 ];
62 platforms = platforms.linux;