3
0
Fork 0
forked from mirrors/nixpkgs

mtd-utils: 2.1.1 -> 2.1.2

This commit is contained in:
superherointj 2021-03-11 16:04:42 -03:00
parent 3d92c78160
commit 795e18ed2e

View file

@ -2,29 +2,28 @@
stdenv.mkDerivation rec {
pname = "mtd-utils";
version = "2.1.1";
version = "2.1.2";
src = fetchurl {
url = "ftp://ftp.infradead.org/pub/${pname}/${pname}-${version}.tar.bz2";
sha256 = "1lijl89l7hljx8xx70vrz9srd3h41v5gh4b0lvqnlv831yvyh5cd";
sha256 = "sha256-itTF80cW1AZGqihySi9WFtMlpvEZJU+RTiaXbx926dY=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optional doCheck cmocka;
buildInputs = [ acl libuuid lzo zlib zstd ];
configureFlags = [
(lib.enableFeature doCheck "unit-tests")
(lib.enableFeature doCheck "tests")
configureFlags = with lib; [
(enableFeature doCheck "unit-tests")
(enableFeature doCheck "tests")
];
enableParallelBuilding = true;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
meta = {
meta = with lib; {
description = "Tools for MTD filesystems";
license = lib.licenses.gpl2Plus;
license = licenses.gpl2Plus;
homepage = "http://www.linux-mtd.infradead.org/";
maintainers = with lib.maintainers; [ viric ];
platforms = with lib.platforms; linux;
maintainers = with maintainers; [ viric superherointj ];
platforms = with platforms; linux;
};
}