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