diff --git a/pkgs/development/libraries/martyr/builder.sh b/pkgs/development/libraries/martyr/builder.sh new file mode 100644 index 00000000000..3ee7fc012d9 --- /dev/null +++ b/pkgs/development/libraries/martyr/builder.sh @@ -0,0 +1,7 @@ +source $stdenv/setup + +mkdir -p $out +unpackPhase +cd $name +$apacheAnt/bin/ant +cp -R ./* $out diff --git a/pkgs/development/libraries/martyr/default.nix b/pkgs/development/libraries/martyr/default.nix new file mode 100644 index 00000000000..3e3293456fe --- /dev/null +++ b/pkgs/development/libraries/martyr/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, apacheAnt}: + +stdenv.mkDerivation { + name = "martyr-0.3.9"; + builder = ./builder.sh; + src = fetchurl { + url = "http://surfnet.dl.sourceforge.net/sourceforge/martyr/martyr-0.3.9.tar.gz"; + md5 = "b716a6aaabd5622b65d6126438766260"; + }; + inherit stdenv apacheAnt; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b32d6db7121..88ff15fe9b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2425,10 +2425,7 @@ rec { inherit stdenv fetchurl jdk; }; -/* - maven = (import ../misc/maven) { - inherit stdenv fetchurl jdk; + martyr = (import ../development/libraries/martyr) { + inherit stdenv fetchurl apacheAnt; }; -*/ - }