diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-18 00:12:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 00:12:56 +0000 |
commit | 154bc6bfe607be732374fc57554b165e692b77a8 (patch) | |
tree | 60ad3d3927c23db46d7c904b3293906d56ef1f7d /pkgs/by-name/pl/plymouth-matrix-theme/package.nix | |
parent | 58045842897730e7b47c578ad9f175dbf35ad782 (diff) | |
parent | 8a33016960fc556929f10df9efae7fb372877441 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/by-name/pl/plymouth-matrix-theme/package.nix')
-rw-r--r-- | pkgs/by-name/pl/plymouth-matrix-theme/package.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/pl/plymouth-matrix-theme/package.nix b/pkgs/by-name/pl/plymouth-matrix-theme/package.nix new file mode 100644 index 0000000000000..5db5be9c3f467 --- /dev/null +++ b/pkgs/by-name/pl/plymouth-matrix-theme/package.nix @@ -0,0 +1,48 @@ +{ + stdenvNoCC, + fetchFromGitHub, + lib, + unstableGitUpdater, +}: + +stdenvNoCC.mkDerivation { + pname = "plymouth-matrix-theme"; + version = "0.1.0-unstable-19-02-2017"; + + src = fetchFromGitHub { + owner = "storax"; + repo = "plymouth-matrix-theme"; + rev = "b2268f25dea7537ed5709b00d5a83b3600265c54"; + hash = "sha256-JmMmpw1By5U6OTaSPnJOZZxrieSnXivMmdt/JPazjpI="; + }; + + postPatch = '' + # Remove not needed files + rm README.rst LICENSE Makefile + ''; + + dontBuild = true; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/plymouth/themes/matrix + cp * $out/share/plymouth/themes/matrix + find $out/share/plymouth/themes/ -name \*.plymouth -exec sed -i "s@\/usr\/@$out\/@" {} \; + runHook postInstall + ''; + + passthru.updateScript = unstableGitUpdater; + + meta = { + description = "Plymouth boot theme inspired by Matrix"; + longDescription = '' + A very simple boot animation that emulates + Trinity hacking Neo's computer at the + beginning of The Matrix (1999). + ''; + homepage = "https://github.com/storax/plymouth-matrix-theme"; + license = lib.licenses.gpl3; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ johnrtitor ]; + }; +} |