From 61e3b1726db47621eee821d1a2fb2079de4cab72 Mon Sep 17 00:00:00 2001 From: Bogdan Dumitriu Date: Mon, 3 Oct 2005 08:17:09 +0000 Subject: [PATCH] added the JavaSVN package svn path=/nixpkgs/trunk/; revision=3997 --- pkgs/development/libraries/java/javasvn/builder.sh | 6 ++++++ pkgs/development/libraries/java/javasvn/default.nix | 13 +++++++++++++ pkgs/system/all-packages-generic.nix | 4 ++++ 3 files changed, 23 insertions(+) create mode 100755 pkgs/development/libraries/java/javasvn/builder.sh create mode 100644 pkgs/development/libraries/java/javasvn/default.nix diff --git a/pkgs/development/libraries/java/javasvn/builder.sh b/pkgs/development/libraries/java/javasvn/builder.sh new file mode 100755 index 00000000000..e814bbd09dd --- /dev/null +++ b/pkgs/development/libraries/java/javasvn/builder.sh @@ -0,0 +1,6 @@ +set -e +. $stdenv/setup + +$unzip/bin/unzip $src +mkdir -p $out +mv $name*/* $out diff --git a/pkgs/development/libraries/java/javasvn/default.nix b/pkgs/development/libraries/java/javasvn/default.nix new file mode 100644 index 00000000000..bdad380bdbe --- /dev/null +++ b/pkgs/development/libraries/java/javasvn/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, unzip} : + +stdenv.mkDerivation { + name = "javasvn-0.9.2"; + builder = ./builder.sh; + + src = fetchurl { + url = http://tmate.org/svn/org.tmatesoft.svn_0.9.2.standalone.zip; + md5 = "0f51c8a5daadccd0a7c301b265fda893"; + }; + + inherit unzip; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 8619cd5943a..8b27a3cdfae 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -989,6 +989,10 @@ rec { inherit stdenv fetchurl unzip; }; + javasvn = import ../development/libraries/java/javasvn { + inherit stdenv fetchurl unzip; + }; + httpunit = import ../development/libraries/java/httpunit { inherit stdenv fetchurl unzip; };