2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-02-22 19:53:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.5.2";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "genromfs";
|
2016-02-22 19:53:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/romfs/genromfs/${version}/${pname}-${version}.tar.gz";
|
2016-02-22 19:53:14 +00:00
|
|
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +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;
|
2020-05-30 16:28:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-02-22 19:53:14 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|