diff options
author | Patrick Callahan <pxcallahan@gmail.com> | 2016-02-22 12:53:14 -0700 |
---|---|---|
committer | Patrick Callahan <pxcallahan@gmail.com> | 2016-03-26 10:35:26 -0700 |
commit | 387e15764b5de8d26b0130c20b995755631eaf3a (patch) | |
tree | 2253ef7988aa19cf057936516791d9774a2cec20 /pkgs/tools/filesystems/genromfs | |
parent | c2a0d7eb64411a32290fbfb974059bcfc51bdd90 (diff) |
genromfs: init at 0.5.2
Diffstat (limited to 'pkgs/tools/filesystems/genromfs')
-rw-r--r-- | pkgs/tools/filesystems/genromfs/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/genromfs/default.nix b/pkgs/tools/filesystems/genromfs/default.nix new file mode 100644 index 0000000000000..db1968fccdcf7 --- /dev/null +++ b/pkgs/tools/filesystems/genromfs/default.nix @@ -0,0 +1,23 @@ +{ 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 = '' + substituteInPlace Makefile --replace "prefix = /usr" "prefix = $out" + ''; + + meta = with stdenv.lib; { + homepage = "http://romfs.sourceforge.net/"; + description = "Tool for creating romfs file system images"; + license = licenses.gpl2; + maintainers = with maintainers; [ pxc ]; + platforms = platforms.all; + }; +} |