2007-03-24 12:01:50 +00:00
|
|
|
{stdenv, fetchurl, zlib}:
|
|
|
|
|
2020-07-31 17:01:40 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cramfsswap";
|
|
|
|
version = "1.4.1";
|
|
|
|
|
2007-03-24 12:01:50 +00:00
|
|
|
src = fetchurl {
|
2020-07-31 17:01:40 +01:00
|
|
|
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.gz";
|
2008-03-03 21:37:55 +00:00
|
|
|
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
|
2007-03-24 12:01:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [zlib];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
2020-07-31 17:01:40 +01:00
|
|
|
installPhase = ''
|
|
|
|
install --target $out/bin -D cramfsswap
|
|
|
|
'';
|
|
|
|
|
2018-08-15 19:19:36 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-07-31 17:01:40 +01:00
|
|
|
description = "Swap endianess of a cram filesystem (cramfs)";
|
2018-08-15 19:19:36 +01:00
|
|
|
homepage = "https://packages.debian.org/sid/utils/cramfsswap";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2007-03-24 12:01:50 +00:00
|
|
|
}
|