1 { lib, stdenv, fetchurl, pkg-config, fuse, perl }:
3 stdenv.mkDerivation rec {
8 url = "https://bisqwit.iki.fi/src/arch/cromfs-${version}.tar.bz2";
9 sha256 = "0xy2x1ws1qqfp7hfj6yzm80zhrxzmhn0w2yns77im1lmd2h18817";
12 postPatch = "patchShebangs configure";
16 install cromfs-driver $out/bin
17 install util/cvcromfs $out/bin
18 install util/mkcromfs $out/bin
19 install util/unmkcromfs $out/bin
22 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [ fuse perl ];
25 makeFlags = [ "CXXFLAGS=-std=c++03" ];
28 description = "FUSE Compressed ROM filesystem with lzma";
29 homepage = "https://bisqwit.iki.fi/source/cromfs.html";
30 license = licenses.gpl3;
32 platforms = platforms.linux;