a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
654 B
Nix
25 lines
654 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.5.2";
|
|
pname = "genromfs";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/romfs/genromfs/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0q6rpq7cmclmb4ayfyknvzbqysxs4fy8aiahlax1sb2p6k3pzwrh";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile \
|
|
--replace "prefix = /usr" "prefix = $out" \
|
|
--replace "gcc" "cc"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://romfs.sourceforge.net/";
|
|
description = "Tool for creating romfs file system images";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|