mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
shellspec: init at 0.28.1
This commit is contained in:
parent
7db71a9105
commit
f6c6d63d1c
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/misc/shellspec/default.nix
Normal file
34
pkgs/tools/misc/shellspec/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shellspec";
|
||||
version = "0.28.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shellspec";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
checkPhase = ''
|
||||
./shellspec --no-banner --task fixture:stat:prepare
|
||||
./shellspec --no-banner spec --jobs "$(nproc)"
|
||||
'';
|
||||
|
||||
# "Building" the script happens in Docker
|
||||
dontBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells";
|
||||
homepage = "https://shellspec.info/";
|
||||
changelog =
|
||||
"https://github.com/shellspec/shellspec/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -9745,6 +9745,8 @@ with pkgs;
|
|||
|
||||
shelldap = callPackage ../tools/misc/shelldap { };
|
||||
|
||||
shellspec = callPackage ../tools/misc/shellspec { };
|
||||
|
||||
schema2ldif = callPackage ../tools/text/schema2ldif { };
|
||||
|
||||
sharedown = callPackage ../tools/misc/sharedown { };
|
||||
|
|
Loading…
Reference in a new issue