Add commons-math (binary until I get maven build working)
Drop jakarta name from fileupload and update its version Jakarta regexp has been officially retired, and nothing in nixpkgs uses it, so let’s get rid of it. Add commons-io More commons additions/cleanup Closes #4181 Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
This commit is contained in:
committed by
Mateusz Kowalczyk
parent
26ebd25844
commit
588a5e92a3
24
pkgs/development/libraries/java/commons/math/default.nix
Normal file
24
pkgs/development/libraries/java/commons/math/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.3";
|
||||
name = "commons-math-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/commons/math/binaries/commons-math3-${version}-bin.tar.gz";
|
||||
sha256 = "1xs71c4vbai6zr84982g4ggv6c18dhkilkzw9n1irjqnjbgm5kzc";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
tar xf ${src}
|
||||
mkdir -p $out/share/java
|
||||
cp *.jar $out/share/java/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://commons.apache.org/proper/commons-math/";
|
||||
description = "A library of lightweight, self-contained mathematics and statistics components";
|
||||
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user