Files
nixpkgs/pkgs/by-name/ma/marcel/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
992 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
bash,
}:
python3Packages.buildPythonApplication rec {
pname = "marcel";
version = "0.30.4";
pyproject = true;
src = fetchFromGitHub {
owner = "geophile";
repo = "marcel";
tag = "v${version}";
hash = "sha256-ER1Hr+sC55Qnp21qjCwc70Nho2VQ3FztzsLLlx3EtA8=";
};
nativeBuildInputs = with python3Packages; [
setuptools
];
buildInputs = [
bash
];
pythonPath = with python3Packages; [
dill
psutil
];
# The tests use sudo and try to read/write $HOME/.local/share/marcel and /tmp
doCheck = false;
postFixup = ''
wrapProgram $out/bin/marcel \
--prefix PATH : "$program_PATH:${lib.getBin bash}/bin" \
--prefix PYTHONPATH : "$program_PYTHONPATH"
'';
meta = with lib; {
description = "Modern shell";
homepage = "https://github.com/geophile/marcel";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kud ];
mainProgram = "marcel";
};
}