Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9752932de948
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 62e4a35fa773
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 15, 2019

  1. mtdutils: 1.5.2 -> 2.1.1 (#62805)

    * 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
    dtzWill authored and c0bw3b committed Oct 15, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    makefu Felix Richter
    Copy the full SHA
    62e4a35 View commit details
Showing with 13 additions and 11 deletions.
  1. +13 −11 pkgs/tools/filesystems/mtdutils/default.nix
24 changes: 13 additions & 11 deletions pkgs/tools/filesystems/mtdutils/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
{ stdenv, fetchurl, libuuid, lzo, zlib, acl }:
{ stdenv, fetchurl, autoreconfHook, pkgconfig, cmocka, acl, libuuid, lzo, zlib, zstd }:

stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "mtd-utils";
version = "1.5.2";
version = "2.1.1";

src = fetchurl {
url = ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.5.2.tar.bz2;
sha256 = "007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax";
url = "ftp://ftp.infradead.org/pub/${pname}/${pname}-${version}.tar.bz2";
sha256 = "1lijl89l7hljx8xx70vrz9srd3h41v5gh4b0lvqnlv831yvyh5cd";
};

patchPhase = ''
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
'';
nativeBuildInputs = [ autoreconfHook cmocka pkgconfig ];
buildInputs = [ acl libuuid lzo zlib zstd ];

buildInputs = [ libuuid lzo zlib acl ];
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];
homepage = "http://www.linux-mtd.infradead.org/";
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}