From e535bc8ad0844af4a9ac6b919ca2c266a6d5e124 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 16 Feb 2004 14:31:52 +0000 Subject: [PATCH] * Added e2fsprogs (for e2fsck). svn path=/nixpkgs/trunk/; revision=788 --- pkgs/os-specific/linux/e2fsprogs/builder.sh | 10 ++++++++++ pkgs/os-specific/linux/e2fsprogs/default.nix | 12 ++++++++++++ pkgs/system/all-packages-generic.nix | 4 ++++ 3 files changed, 26 insertions(+) create mode 100755 pkgs/os-specific/linux/e2fsprogs/builder.sh create mode 100644 pkgs/os-specific/linux/e2fsprogs/default.nix diff --git a/pkgs/os-specific/linux/e2fsprogs/builder.sh b/pkgs/os-specific/linux/e2fsprogs/builder.sh new file mode 100755 index 000000000000..1f782ea310d1 --- /dev/null +++ b/pkgs/os-specific/linux/e2fsprogs/builder.sh @@ -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 diff --git a/pkgs/os-specific/linux/e2fsprogs/default.nix b/pkgs/os-specific/linux/e2fsprogs/default.nix new file mode 100644 index 000000000000..afd32ed97376 --- /dev/null +++ b/pkgs/os-specific/linux/e2fsprogs/default.nix @@ -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; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 9974c958f9ee..8dfa47e8521f 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -569,6 +569,10 @@ patch = gnupatch; }; + e2fsprogs = (import ../os-specific/linux/e2fsprogs) { + inherit fetchurl stdenv gettext; + }; + ### DATA