nixpkgs-suyu/pkgs/shells/mrsh/default.nix
Masanori Ogino 955926a620 mrsh: 2020-01-08 -> 2020-07-27 etc.
- `doCheck` is enabled now.
- It marked as broken on Darwin due to [build failures][macos-issue].

[macos-issue]: https://github.com/NixOS/nixpkgs/pull/101910#issuecomment-719923175

Reference: ef21854fc9..0da902c0ee
Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2020-11-02 04:45:59 +09:00

27 lines
692 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, readline }:
stdenv.mkDerivation rec {
pname = "mrsh";
version = "2020-07-27";
src = fetchFromGitHub {
owner = "emersion";
repo = "mrsh";
rev = "0da902c0ee6f443fe703498e60f266af7f12537e";
sha256 = "1yr09ln5p1s48aj8xv2d6dy0pahqvd86fkiwyc6zrjfq80igxf05";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ readline ];
doCheck = true;
meta = with stdenv.lib; {
description = "A minimal POSIX shell";
homepage = "https://mrsh.sh";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}