Merge pull request #115978 from superherointj/package-mtd-utils

mtd-utils: 2.1.1 -> 2.1.2
This commit is contained in:
Sandro 2021-03-11 23:17:09 +01:00 committed by GitHub
commit a7a28d3343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};
}