diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/jfsutils/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/filesystems/jfsutils/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/jfsutils/default.nix b/nixpkgs/pkgs/tools/filesystems/jfsutils/default.nix new file mode 100644 index 000000000000..92dfe00c9514 --- /dev/null +++ b/nixpkgs/pkgs/tools/filesystems/jfsutils/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, libuuid, autoreconfHook }: + +stdenv.mkDerivation rec { + name = "jfsutils-1.1.15"; + + src = fetchurl { + url = "http://jfs.sourceforge.net/project/pub/${name}.tar.gz"; + sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4"; + }; + + patches = [ + ./types.patch + ./hardening-format.patch + # required for cross-compilation + ./ar-fix.patch + ]; + + nativeBuildInputs = [ autoreconfHook ]; + buildInputs = [ libuuid ]; + + meta = with stdenv.lib; { + description = "IBM JFS utilities"; + homepage = http://jfs.sourceforge.net; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} |