3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/genromfs/default.nix

26 lines
656 B
Nix
Raw Normal View History

2016-02-22 19:53:14 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.5.2";
pname = "genromfs";
2016-02-22 19:53:14 +00:00
src = fetchurl {
url = "mirror://sourceforge/romfs/genromfs/${version}/${pname}-${version}.tar.gz";
2016-02-22 19:53:14 +00:00
sha256 = "0q6rpq7cmclmb4ayfyknvzbqysxs4fy8aiahlax1sb2p6k3pzwrh";
};
postPatch = ''
2016-08-12 04:18:38 +01:00
substituteInPlace Makefile \
--replace "prefix = /usr" "prefix = $out" \
--replace "gcc" "cc"
2016-02-22 19:53:14 +00:00
'';
meta = with stdenv.lib; {
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 17:28:33 +01:00
maintainers = with maintainers; [ ];
2016-02-22 19:53:14 +00:00
platforms = platforms.all;
};
}