mtdutils: updating, and making them build
The previous 1.3.1 wasn't properly fetched by fetchgit, somehow.
This commit is contained in:
parent
6a63479899
commit
029aabe7f3
@ -1,22 +1,19 @@
|
|||||||
{stdenv, fetchgit, libuuid, lzo, zlib, acl}:
|
{stdenv, fetchgit, libuuid, lzo, zlib, acl}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.3.1";
|
version = "1.5.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mtd-utils-${version}";
|
name = "mtd-utils-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = git://git.infradead.org/mtd-utils.git;
|
url = git://git.infradead.org/mtd-utils.git;
|
||||||
rev = "v" + version;
|
rev = "refs/tags/v" + version;
|
||||||
sha256 = "0pjjs9x03bgvphqwlw99c2cpkpjsx0vkqi79vjl7fcb9pyrghgd1";
|
sha256 = "cc645c0ec28083431b11f3b38f9f7759378d89e11047a883529f703e1b6c1cce";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
||||||
|
|
||||||
# gcc 4.5.1 issues a warning where 4.4.3 did not
|
|
||||||
sed -i -e s/-Werror// ubi-utils/old-utils/Makefile
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ libuuid lzo zlib acl ];
|
buildInputs = [ libuuid lzo zlib acl ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user