Files
nixpkgs/pkgs/by-name/un/unimatrix/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

38 lines
841 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication {
pname = "unimatrix";
version = "0-unstable-2023-04-25";
pyproject = false;
src = fetchFromGitHub {
owner = "will8211";
repo = "unimatrix";
rev = "65793c237553bf657af2f2248d2a2dc84169f5c4";
hash = "sha256-fiaVEc0rtZarUQlUwe1V817qWRx4LnUyRD/j2vWX5NM=";
};
installPhase = ''
runHook preInstall
install -Dm755 ./unimatrix.py $out/bin/unimatrix
runHook postInstall
'';
dontConfigure = true;
dontBuild = true;
meta = with lib; {
description = ''Python script to simulate the display from "The Matrix" in terminal'';
homepage = "https://github.com/will8211/unimatrix";
license = licenses.gpl3Only;
maintainers = with maintainers; [ anomalocaris ];
mainProgram = "unimatrix";
};
}