nixpkgs/pkgs/shells/mrsh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
740 B
Nix
Raw Normal View History

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