Merge pull request #267461 from KUD-00/init-marcel
marcel: init at 0.22.2
This commit is contained in:
commit
45ecb2bf6f
@ -10370,6 +10370,12 @@
|
|||||||
githubId = 894884;
|
githubId = 894884;
|
||||||
name = "Jakub Kozłowski";
|
name = "Jakub Kozłowski";
|
||||||
};
|
};
|
||||||
|
kud = {
|
||||||
|
email = "kasa7qi@gmail.com";
|
||||||
|
github = "KUD-00";
|
||||||
|
githubId = 70764075;
|
||||||
|
name = "kud";
|
||||||
|
};
|
||||||
kupac = {
|
kupac = {
|
||||||
github = "Kupac";
|
github = "Kupac";
|
||||||
githubId = 8224569;
|
githubId = 8224569;
|
||||||
|
48
pkgs/by-name/ma/marcel/package.nix
Normal file
48
pkgs/by-name/ma/marcel/package.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, python3Packages
|
||||||
|
, bash
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "marcel";
|
||||||
|
version = "0.22.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "geophile";
|
||||||
|
repo = "marcel";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-CiAIY4qXv5V2VOsi+vat7OvFcmeFpIrmHCfqlY+JRXc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 = "A modern shell";
|
||||||
|
homepage = "https://github.com/geophile/marcel";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ kud ];
|
||||||
|
mainProgram = "marcel";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user