28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
30 lines
537 B
Nix
30 lines
537 B
Nix
{ fetchurl, stdenv, jdk }:
|
|
|
|
let
|
|
|
|
antContrib = import ./ant-contrib.nix {
|
|
inherit fetchurl stdenv;
|
|
};
|
|
|
|
version = "1.8.4";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ant-${(builtins.parseDrvName jdk.name).name}-${version}";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
buildInputs = [ antContrib jdk ];
|
|
|
|
inherit antContrib jdk;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
|
sha1 = "d9e3e83dd9664cfe1dcd4841c082db3f559af922";
|
|
};
|
|
|
|
meta = {
|
|
description = "Java-based build tool";
|
|
};
|
|
}
|