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