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

28 lines
581 B
Nix
Raw Normal View History

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