nixpkgs/pkgs/development/libraries/java/commons/io/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
700 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "2.6";
pname = "commons-io";
src = fetchurl {
url = "mirror://apache/commons/io/binaries/${pname}-${version}-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;
};
}