Merge pull request #135400 from r-burns/cramfsswap
cramfsswap: 1.4.1 -> 1.4.2, cleanup
This commit is contained in:
commit
1e7e502a62
1 changed files with 9 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue