cramfsswap: 1.4.1 -> 1.4.2, cleanup
* fix cross-compilation * clarify license
This commit is contained in:
parent
2689bd2472
commit
1ebfe95372
1 changed files with 9 additions and 4 deletions
|
@ -2,13 +2,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cramfsswap";
|
pname = "cramfsswap";
|
||||||
version = "1.4.1";
|
version = "1.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.gz";
|
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.xz";
|
||||||
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
|
sha256 = "10mj45zx71inaa3l1d81g64f7yn1xcprvq4v4yzpdwbxqmqaikw1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Needed for cross-compilation
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace 'strip ' '$(STRIP) '
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [zlib];
|
buildInputs = [zlib];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -18,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Swap endianess of a cram filesystem (cramfs)";
|
description = "Swap endianess of a cram filesystem (cramfs)";
|
||||||
homepage = "https://packages.debian.org/sid/utils/cramfsswap";
|
homepage = "https://packages.debian.org/sid/utils/cramfsswap";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue