forked from mirrors/nixpkgs
dbcfee9958
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.6 with grep in /nix/store/5yl4dj084qj2x6xawqpbgs9bmlgxjjkb-commons-io-2.6 - found 2.6 in filename of file in /nix/store/5yl4dj084qj2x6xawqpbgs9bmlgxjjkb-commons-io-2.6 - directory tree listing: https://gist.github.com/a62494f31c4e13128a99cb347f615952
26 lines
701 B
Nix
26 lines
701 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.6";
|
|
name = "commons-io-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/commons/io/binaries/${name}-bin.tar.gz";
|
|
sha256 = "1nzkv8gi56l1m4h7s8bcvqm0naq3bhh7fazcmgdhcr2zkjs5zfmn";
|
|
};
|
|
|
|
installPhase = ''
|
|
tar xf ${src}
|
|
mkdir -p $out/share/java
|
|
cp *.jar $out/share/java/
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://commons.apache.org/proper/commons-io";
|
|
description = "A library of utilities to assist with developing IO functionality";
|
|
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
|
|
license = stdenv.lib.licenses.asl20;
|
|
platforms = with stdenv.lib.platforms; unix;
|
|
};
|
|
}
|