shellspec: init at 0.28.1

authored by Johannes Arnold and committed by ehmry f6c6d63d 7db71a91

+36
+34
pkgs/tools/misc/shellspec/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "shellspec"; 5 + version = "0.28.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "shellspec"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46"; 12 + }; 13 + 14 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 15 + 16 + checkPhase = '' 17 + ./shellspec --no-banner --task fixture:stat:prepare 18 + ./shellspec --no-banner spec --jobs "$(nproc)" 19 + ''; 20 + 21 + # "Building" the script happens in Docker 22 + dontBuild = true; 23 + 24 + meta = with lib; { 25 + description = 26 + "A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells"; 27 + homepage = "https://shellspec.info/"; 28 + changelog = 29 + "https://github.com/shellspec/shellspec/releases/tag/${version}"; 30 + license = licenses.mit; 31 + maintainers = with maintainers; [ j0hax ]; 32 + platforms = platforms.unix; 33 + }; 34 + }
+2
pkgs/top-level/all-packages.nix
··· 9745 9746 shelldap = callPackage ../tools/misc/shelldap { }; 9747 9748 schema2ldif = callPackage ../tools/text/schema2ldif { }; 9749 9750 sharedown = callPackage ../tools/misc/sharedown { };
··· 9745 9746 shelldap = callPackage ../tools/misc/shelldap { }; 9747 9748 + shellspec = callPackage ../tools/misc/shellspec { }; 9749 + 9750 schema2ldif = callPackage ../tools/text/schema2ldif { }; 9751 9752 sharedown = callPackage ../tools/misc/sharedown { };