2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2007-05-11 22:26:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-07-21 02:40:10 +00:00
|
|
|
name = "genext2fs-1.4.1";
|
2010-01-18 15:40:23 +00:00
|
|
|
|
2007-05-11 22:26:18 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://sourceforge/genext2fs/genext2fs-1.4.1.tar.gz";
|
2007-05-11 22:26:18 +00:00
|
|
|
sha256 = "1z7czvsf3ircvz2cw1cf53yifsq29ljxmj15hbgc79l6gbxbnka0";
|
|
|
|
};
|
2010-01-18 15:40:23 +00:00
|
|
|
|
2017-11-12 20:36:58 +00:00
|
|
|
# https://sourceforge.net/p/genext2fs/bugs/2/
|
|
|
|
# Will be fixed in the next release, whenever this happens
|
|
|
|
postPatch = ''
|
|
|
|
sed -e 's@4 [*] (EXT2_TIND_BLOCK+1)@-1+&@' -i genext2fs.c
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://genext2fs.sourceforge.net/";
|
2010-01-18 15:40:23 +00:00
|
|
|
description = "A tool to generate ext2 filesystem images without requiring root privileges";
|
2015-02-11 19:06:14 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2010-01-18 15:40:23 +00:00
|
|
|
};
|
2007-05-11 22:26:18 +00:00
|
|
|
}
|