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