1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/cramfsswap/default.nix

25 lines
596 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, zlib}:
stdenv.mkDerivation rec {
pname = "cramfsswap";
version = "1.4.1";
src = fetchurl {
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.gz";
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
};
buildInputs = [zlib];
installPhase = ''
install --target $out/bin -D cramfsswap
'';
meta = with lib; {
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;
};
}