2020-01-04 16:38:55 +00:00
|
|
|
{ fetchFromGitHub
|
2021-01-11 07:54:33 +00:00
|
|
|
, lib, stdenv
|
2020-01-04 16:38:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bash_unit";
|
2020-02-07 06:02:27 +00:00
|
|
|
version = "1.7.1";
|
2020-01-04 16:38:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pgrange";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-02-07 06:02:27 +00:00
|
|
|
sha256 = "02cam5gkhnlwhb9aqcqmkl8kskgikih0bmyx09ybi3gpaf4z82f7";
|
2020-01-04 16:38:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp bash_unit $out/bin/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-04 16:38:55 +00:00
|
|
|
description = "Bash unit testing enterprise edition framework for professionals";
|
|
|
|
maintainers = with maintainers; [ pamplemousse ];
|
2021-03-18 15:22:39 +00:00
|
|
|
platforms = platforms.all;
|
2020-01-04 16:38:55 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|