16 stdenv.mkDerivation rec {
21 url = "git://git.infradead.org/mtd-utils.git";
23 hash = "sha256-vGgBOKu+ClmyRZHQkAS8r/YJtZihr/oD/yj8V7DeAQ8=";
29 ] ++ lib.optional doCheck cmocka;
40 substituteInPlace ubifs-utils/mount.ubifs \
41 --replace-fail "/bin/mount" "${util-linux}/bin/mount"
44 enableParallelBuilding = true;
47 (lib.enableFeature doCheck "unit-tests")
48 (lib.enableFeature doCheck "tests")
51 makeFlags = [ "AR:=$(AR)" ];
53 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
67 description = "Tools for MTD filesystems";
68 downloadPage = "https://git.infradead.org/mtd-utils.git";
69 license = licenses.gpl2Plus;
70 homepage = "http://www.linux-mtd.infradead.org/";
71 maintainers = with lib.maintainers; [ skeuchel ];
72 platforms = with platforms; linux;