8 stdenv.mkDerivation rec {
13 url = "mirror://debian/pool/main/c/cramfs/cramfs_${version}.orig.tar.gz";
14 sha256 = "0s13sabykbkbp0pcw8clxddwzxckyq7ywm2ial343ip7qjiaqg0k";
17 # CramFs is unmaintained upstream: https://tracker.debian.org/pkg/cramfs.
18 # So patch the "missing include" bug ourselves.
19 patches = [ ./include-sysmacros.patch ];
22 "CC=${stdenv.cc.targetPrefix}cc"
26 install --target $out/bin -D cramfsck mkcramfs
29 buildInputs = [ zlib ];
32 description = "Tools to create, check, and extract content of CramFs images";
33 homepage = "https://packages.debian.org/jessie/cramfsprogs";
34 license = licenses.gpl2Plus;
35 maintainers = with maintainers; [ pamplemousse ];
36 platforms = platforms.linux;