|
|
|
@ -2,13 +2,18 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "cramfsswap"; |
|
|
|
|
version = "1.4.1"; |
|
|
|
|
version = "1.4.2"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.gz"; |
|
|
|
|
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd"; |
|
|
|
|
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.xz"; |
|
|
|
|
sha256 = "10mj45zx71inaa3l1d81g64f7yn1xcprvq4v4yzpdwbxqmqaikw1"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# Needed for cross-compilation |
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace Makefile --replace 'strip ' '$(STRIP) ' |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
buildInputs = [zlib]; |
|
|
|
|
|
|
|
|
|
installPhase = '' |
|
|
|
@ -18,7 +23,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Swap endianess of a cram filesystem (cramfs)"; |
|
|
|
|
homepage = "https://packages.debian.org/sid/utils/cramfsswap"; |
|
|
|
|
license = licenses.gpl2; |
|
|
|
|
license = licenses.gpl2Only; |
|
|
|
|
platforms = platforms.linux; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|