diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-21 22:47:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 22:47:19 +0100 |
commit | f3bc369d2b94e7cbefe964258bcafa70d0673a22 (patch) | |
tree | c80c654dff1fb1eee176af16a906f89dce21aff6 /pkgs/by-name/un | |
parent | 779f090f6ab2681de1d31feca085e2e21b9b9c32 (diff) | |
parent | 861c59269ad7f33da7815e909c2d678b3b4b1343 (diff) | |
download | nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar.gz nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar.bz2 nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar.lz nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar.xz nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.tar.zst nixlib-f3bc369d2b94e7cbefe964258bcafa70d0673a22.zip |
Merge pull request #264716 from Anomalocaridid/unimatrix
unimatrix: init at unstable-2023-04-25
Diffstat (limited to 'pkgs/by-name/un')
-rw-r--r-- | pkgs/by-name/un/unimatrix/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/un/unimatrix/package.nix b/pkgs/by-name/un/unimatrix/package.nix new file mode 100644 index 000000000000..0b57d915cefb --- /dev/null +++ b/pkgs/by-name/un/unimatrix/package.nix @@ -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"; + }; +} |