git.iko.soy/typeable/nixpkgs
on master help sign in
httpunit: remove builder.sh (#147110)
commit5201be2d3a10da36d7196c13464ee65d84e02582 authorFelix Bühler <Stunkymonkey@users.noreply.github.com> dateWed 24 Nov 2021, 04:41 (5 years ago) parente752456
2 files changed+8−11
pkgs/development/libraries/java/httpunit/builder.sh−5 pkgs/development/libraries/java/httpunit/default.nix+8−6
pkgs/development/libraries/java/httpunit/builder.shdeleted−5
@@ -1,5 +0,0 @@
1−source $stdenv/setup
2−
3−$unzip/bin/unzip $src
4−mkdir $out
5−mv $name/* $out/
pkgs/development/libraries/java/httpunit/default.nix+8−6
@@ -1,15 +1,17 @@
1−{lib, stdenv, fetchurl, unzip} :
1+{ lib, stdenv, fetchurl }:
22
3−stdenv.mkDerivation {
4− name = "httpunit-1.7";
5− builder = ./builder.sh;
3+stdenv.mkDerivation rec {
4+ pname = "httpunit";
5+ version = "1.7";
66
77 src = fetchurl {
8− url = "mirror://sourceforge/httpunit/httpunit-1.7.zip";
8+ url = "mirror://sourceforge/httpunit/httpunit-${version}.zip";
99 sha256 = "09gnayqgizd8cjqayvdpkxrc69ipyxawc96aznfrgdhdiwv8l5zf";
1010 };
1111
12− inherit unzip;
12+ buildCommand = ''
13+ cp ./* $out
14+ '';
1315
1416 meta = with lib; {
1517 homepage = "http://httpunit.sourceforge.net";