lol

httpunit: remove builder.sh (#147110)

authored by

Felix Bühler and committed by
GitHub
5201be2d e7524561

+8 -11
-5
pkgs/development/libraries/java/httpunit/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - $unzip/bin/unzip $src 4 - mkdir $out 5 - mv $name/* $out/
+8 -6
pkgs/development/libraries/java/httpunit/default.nix
··· 1 - {lib, stdenv, fetchurl, unzip} : 1 + { lib, stdenv, fetchurl }: 2 2 3 - stdenv.mkDerivation { 4 - name = "httpunit-1.7"; 5 - builder = ./builder.sh; 3 + stdenv.mkDerivation rec { 4 + pname = "httpunit"; 5 + version = "1.7"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://sourceforge/httpunit/httpunit-1.7.zip"; 8 + url = "mirror://sourceforge/httpunit/httpunit-${version}.zip"; 9 9 sha256 = "09gnayqgizd8cjqayvdpkxrc69ipyxawc96aznfrgdhdiwv8l5zf"; 10 10 }; 11 11 12 - inherit unzip; 12 + buildCommand = '' 13 + cp ./* $out 14 + ''; 13 15 14 16 meta = with lib; { 15 17 homepage = "http://httpunit.sourceforge.net";