62e4a35fa7
* mtdutils: 1.5.2 -> 2.1.0 http://lists.infradead.org/pipermail/linux-mtd/2019-March/088267.html And the previous releases, hardcoded version in URL I think caused this to be missed by auto-updaters for a while now. 1.5.2, FWIW in 2015: http://lists.infradead.org/pipermail/linux-mtd/2015-August/060723.html * mtd-utils: 2.1.0 -> 2.1.1 + cleanup + enable tests and parallel building + add zstd support
27 lines
826 B
Nix
27 lines
826 B
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, cmocka, acl, libuuid, lzo, zlib, zstd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mtd-utils";
|
|
version = "2.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.infradead.org/pub/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1lijl89l7hljx8xx70vrz9srd3h41v5gh4b0lvqnlv831yvyh5cd";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook cmocka pkgconfig ];
|
|
buildInputs = [ acl libuuid lzo zlib zstd ];
|
|
|
|
configureFlags = [ "--enable-unit-tests" "--enable-tests" ];
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Tools for MTD filesystems";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
homepage = "http://www.linux-mtd.infradead.org/";
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|