uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/tools/misc/shellspec/default.nix
Normal file
36
pkgs/tools/misc/shellspec/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchFromGitHub, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shellspec";
|
||||
version = "0.28.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shellspec";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue