2016-02-22 19:53:14 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.5.2";
|
|
|
|
name = "genromfs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/romfs/genromfs/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0q6rpq7cmclmb4ayfyknvzbqysxs4fy8aiahlax1sb2p6k3pzwrh";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2016-08-12 03:18:38 +00:00
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "prefix = /usr" "prefix = $out" \
|
|
|
|
--replace "gcc" "cc"
|
2016-02-22 19:53:14 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://romfs.sourceforge.net/;
|
2016-02-22 19:53:14 +00:00
|
|
|
description = "Tool for creating romfs file system images";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ pxc ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|