depot/pkgs/tools/filesystems/genromfs/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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";
};
}