{ pkgs ? import {} }: with pkgs; let in stdenv.mkDerivation rec { version = "2.5.2"; name = "redmine-${version}"; __noChroot = true; src = fetchurl { url = "http://www.redmine.org/releases/${name}.tar.gz"; sha256 = "0x0zwxyj4dwbk7l64s3lgny10mjf0ba8jwrbafsm4d72sncmacv0"; }; buildInputs = [ ruby rubyLibs.bundler libiconv libxslt libxml2 pkgconfig libffi imagemagickBig postgresql which stdenv ]; installPhase = '' unset http_proxy unset ftp_proxy cp -R . $out cp ${./generate_nix_requirements.rb} $out/generate_nix_requirements.rb cd $out cat > config/database.yml <