1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/shells/mrsh/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

33 lines
766 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 = "A minimal POSIX shell";
mainProgram = "mrsh";
homepage = "https://mrsh.sh";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
};
passthru = {
shellPath = "/bin/mrsh";
};
}