2016-03-11 11:52:46 +00:00
|
|
|
{ stdenv, fetchurl, libuuid, lzo, zlib, acl }:
|
2010-04-29 18:54:51 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mtd-utils";
|
2016-03-11 11:52:46 +00:00
|
|
|
version = "1.5.2";
|
2010-04-29 18:54:51 +01:00
|
|
|
|
2016-03-11 11:52:46 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.5.2.tar.bz2;
|
|
|
|
sha256 = "007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax";
|
2010-04-29 18:54:51 +01:00
|
|
|
};
|
|
|
|
|
2010-09-17 19:57:38 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
2010-04-29 18:54:51 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libuuid lzo zlib acl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tools for MTD filesystems";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-04-29 18:54:51 +01:00
|
|
|
homepage = http://www.linux-mtd.infradead.org/;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|