cramfsswap: Make binary available
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
parent
ce10e04adf
commit
07ea06b143
@ -1,6 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
export DESTDIR=$out
|
|
||||||
mkdir -p $out/usr/bin
|
|
||||||
|
|
||||||
genericBuild
|
|
@ -1,17 +1,22 @@
|
|||||||
{stdenv, fetchurl, zlib}:
|
{stdenv, fetchurl, zlib}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "cramfsswap-1.4.1";
|
pname = "cramfsswap";
|
||||||
builder = ./builder.sh;
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://debian/pool/main/c/cramfsswap/cramfsswap_1.4.1.tar.gz";
|
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.gz";
|
||||||
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
|
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [zlib];
|
buildInputs = [zlib];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install --target $out/bin -D cramfsswap
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.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.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user