lol
1{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, readline }:
2
3stdenv.mkDerivation rec {
4 pname = "mrsh-unstable";
5 version = "2021-01-10";
6
7 src = fetchFromGitHub {
8 owner = "emersion";
9 repo = "mrsh";
10 rev = "9f9884083831ea1f94bdda5151c5df3888932849";
11 sha256 = "0vvdwzw3fq74lwgmy6xxkk01sd68fzhsw84c750lm1dma22xhjci";
12 };
13
14 strictDeps = true;
15 nativeBuildInputs = [ meson ninja pkg-config ];
16 buildInputs = [ readline ];
17
18 doCheck = true;
19
20 meta = with lib; {
21 description = "A minimal POSIX shell";
22 homepage = "https://mrsh.sh";
23 license = licenses.mit;
24 maintainers = with maintainers; [ matthiasbeyer ];
25 platforms = platforms.unix;
26 };
27
28 passthru = {
29 shellPath = "/bin/mrsh";
30 };
31}