2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, readline }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-09 03:18:52 +00:00
|
|
|
pname = "mrsh-unstable";
|
|
|
|
version = "2021-01-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = "mrsh";
|
2021-03-09 03:18:52 +00:00
|
|
|
rev = "9f9884083831ea1f94bdda5151c5df3888932849";
|
|
|
|
sha256 = "0vvdwzw3fq74lwgmy6xxkk01sd68fzhsw84c750lm1dma22xhjci";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Minimal POSIX shell";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mrsh";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://mrsh.sh";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = platforms.unix;
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/mrsh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|