mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
add cramfsswap
svn path=/nixpkgs/trunk/; revision=8412
This commit is contained in:
parent
505c169238
commit
5aec79e3ca
6
pkgs/os-specific/linux/cramfsswap/builder.sh
Normal file
6
pkgs/os-specific/linux/cramfsswap/builder.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
source $stdenv/setup
|
||||
|
||||
export DESTDIR=$out
|
||||
ensureDir $out/usr/bin
|
||||
|
||||
genericBuild
|
12
pkgs/os-specific/linux/cramfsswap/default.nix
Normal file
12
pkgs/os-specific/linux/cramfsswap/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, zlib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cramfsswap-1.3.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://ftp.debian.org/debian/pool/main/c/cramfsswap/cramfsswap_1.3.1.tar.gz;
|
||||
sha256 = "1dh1z50spxgi0nn33ag7zzm2svl8h1w32kfhy1lzc2vxvxdfyq9r";
|
||||
};
|
||||
|
||||
buildInputs = [zlib];
|
||||
}
|
|
@ -2171,6 +2171,10 @@ rec {
|
|||
inherit fetchurl stdenv alsaLib ncurses gettext;
|
||||
};
|
||||
|
||||
cramfsswap = import ../os-specific/linux/cramfsswap {
|
||||
inherit fetchurl stdenv zlib;
|
||||
};
|
||||
|
||||
#uclibcSparc = import ../development/uclibc {
|
||||
# inherit fetchurl stdenv mktemp;
|
||||
# kernelHeadersCross = kernelHeadersSparc;
|
||||
|
|
Loading…
Reference in a new issue