Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

mtd-utils: 2.1.1 -> 2.1.2

+9 -10
+9 -10
pkgs/tools/filesystems/mtdutils/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mtd-utils"; 5 - version = "2.1.1"; 5 + version = "2.1.2"; 6 6 7 7 src = fetchurl { 8 8 url = "ftp://ftp.infradead.org/pub/${pname}/${pname}-${version}.tar.bz2"; 9 - sha256 = "1lijl89l7hljx8xx70vrz9srd3h41v5gh4b0lvqnlv831yvyh5cd"; 9 + sha256 = "sha256-itTF80cW1AZGqihySi9WFtMlpvEZJU+RTiaXbx926dY="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optional doCheck cmocka; 13 13 buildInputs = [ acl libuuid lzo zlib zstd ]; 14 14 15 - configureFlags = [ 16 - (lib.enableFeature doCheck "unit-tests") 17 - (lib.enableFeature doCheck "tests") 15 + configureFlags = with lib; [ 16 + (enableFeature doCheck "unit-tests") 17 + (enableFeature doCheck "tests") 18 18 ]; 19 - enableParallelBuilding = true; 20 19 21 20 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 22 21 23 - meta = { 22 + meta = with lib; { 24 23 description = "Tools for MTD filesystems"; 25 - license = lib.licenses.gpl2Plus; 24 + license = licenses.gpl2Plus; 26 25 homepage = "http://www.linux-mtd.infradead.org/"; 27 - maintainers = with lib.maintainers; [ viric ]; 28 - platforms = with lib.platforms; linux; 26 + maintainers = with maintainers; [ viric superherointj ]; 27 + platforms = with platforms; linux; 29 28 }; 30 29 }