nixpkgs/pkgs/shells/mrsh/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
764 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, readline }:
stdenv.mkDerivation rec {
pname = "mrsh-unstable";
version = "2021-01-10";
src = fetchFromGitHub {
owner = "emersion";
repo = "mrsh";
rev = "9f9884083831ea1f94bdda5151c5df3888932849";
sha256 = "0vvdwzw3fq74lwgmy6xxkk01sd68fzhsw84c750lm1dma22xhjci";
};
strictDeps = true;
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ readline ];
doCheck = true;
meta = with lib; {
description = "Minimal POSIX shell";
mainProgram = "mrsh";
homepage = "https://mrsh.sh";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
};
passthru = {
shellPath = "/bin/mrsh";
};
}