2021-01-17 03:15:29 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, readline }:
|
2020-01-08 12:52:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-01 05:20:00 +01:00
|
|
|
pname = "mrsh-unstable";
|
|
|
|
version = "2021-01-10";
|
2020-01-08 12:52:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = "mrsh";
|
2021-03-01 05:20:00 +01:00
|
|
|
rev = "9f9884083831ea1f94bdda5151c5df3888932849";
|
|
|
|
sha256 = "0vvdwzw3fq74lwgmy6xxkk01sd68fzhsw84c750lm1dma22xhjci";
|
2020-01-08 12:52:03 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:15:29 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2020-01-08 12:52:03 +01:00
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
2020-10-28 10:41:42 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-08 12:52:03 +01:00
|
|
|
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;
|
2021-03-01 05:20:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/mrsh";
|
2020-01-08 12:52:03 +01:00
|
|
|
};
|
|
|
|
}
|