diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
commit | c726012afe1dbd13da7ab15381e3de2867bc8af5 (patch) | |
tree | 123888653c98ee60761109c9b3c59f706695b064 /pkgs/tools/filesystems/xfsprogs | |
parent | 064aae6461971ed76ff4ed5bc8e043840592c04a (diff) | |
download | nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.gz nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.bz2 nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.lz nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.xz nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.zst nixpkgs-c726012afe1dbd13da7ab15381e3de2867bc8af5.zip |
* Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems. Previously they were all over the place. svn path=/nixpkgs/trunk/; revision=18809
Diffstat (limited to 'pkgs/tools/filesystems/xfsprogs')
-rw-r--r-- | pkgs/tools/filesystems/xfsprogs/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/xfsprogs/default.nix b/pkgs/tools/filesystems/xfsprogs/default.nix new file mode 100644 index 00000000000..3487867ee75 --- /dev/null +++ b/pkgs/tools/filesystems/xfsprogs/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, libtool, gettext, libuuid }: + +stdenv.mkDerivation { + name = "xfsprogs-2.9.7-1"; + + src = fetchurl { + urls = [ ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/xfsprogs_2.9.7-1.tar.gz http://ftp.lfs-matrix.org/pub/blfs/svn/x/xfsprogs_2.9.7-1.tar.gz ]; + sha256 = "0g4pr1rv4lgc7vab18wiwrcr6jq40fs1krb2vfkgh779p7gf3il7"; + }; + + buildInputs = [libtool gettext libuuid]; + + preConfigure = + '' + sp_path=$(echo $PATH | sed -e 's/:/ /g'); + sed -e 's@/usr/bin@'"$PATH: $sp_path"'@g' -i configure + sed -e 's@/usr/local/bin@'"$PATH: sp_path"'@g' -i configure + ''; + + meta = { + description = "SGI XFS utilities"; + }; +} |