depot/third_party/nixpkgs/pkgs/tools/filesystems/genromfs/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
622 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";
};
makeFlags = [
"prefix:=$(out)"
"CC:=$(CC)"
];
meta = with lib; {
homepage = "https://romfs.sourceforge.net/";
description = "Tool for creating romfs file system images";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nickcao ];
platforms = platforms.all;
mainProgram = "genromfs";
};
}