mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* Added e2fsprogs (for e2fsck).
svn path=/nixpkgs/trunk/; revision=788
This commit is contained in:
parent
500a06b8a9
commit
e535bc8ad0
10
pkgs/os-specific/linux/e2fsprogs/builder.sh
Executable file
10
pkgs/os-specific/linux/e2fsprogs/builder.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildinputs="$gettext"
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd e2fsprogs-*
|
||||
./configure --prefix=$out --enable-dynamic-e2fsck
|
||||
make
|
||||
make install
|
12
pkgs/os-specific/linux/e2fsprogs/default.nix
Normal file
12
pkgs/os-specific/linux/e2fsprogs/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, gettext}:
|
||||
|
||||
derivation {
|
||||
name = "e2fsprogs-1.34";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-1.34.tar.gz;
|
||||
md5 = "9be9375224f0970a55e39ebebf2a0ce5";
|
||||
};
|
||||
inherit stdenv gettext;
|
||||
}
|
@ -569,6 +569,10 @@
|
||||
patch = gnupatch;
|
||||
};
|
||||
|
||||
e2fsprogs = (import ../os-specific/linux/e2fsprogs) {
|
||||
inherit fetchurl stdenv gettext;
|
||||
};
|
||||
|
||||
|
||||
### DATA
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user