nixpkgs/pkgs/tools/misc/bash_unit/default.nix

28 lines
586 B
Nix
Raw Normal View History

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