Skip to content

Commit

Permalink
Merge pull request #264716 from Anomalocaridid/unimatrix
Browse files Browse the repository at this point in the history
unimatrix: init at unstable-2023-04-25
  • Loading branch information
pbsds authored Nov 21, 2023
2 parents 779f090 + 861c592 commit f3bc369
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/un/unimatrix/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ lib
, python3Packages
, fetchFromGitHub
}:

python3Packages.buildPythonApplication rec {
pname = "unimatrix";
version = "unstable-2023-04-25";
pyproject = false;

src = fetchFromGitHub {
owner = "will8211";
repo = pname;
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";
};
}

0 comments on commit f3bc369

Please sign in to comment.