From 16f9d42ea3182d3a6bab165ca7b4948f9a8ca0e2 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Thu, 16 Dec 2021 21:31:25 +0530 Subject: [PATCH] neo: init at 0.6 --- pkgs/applications/misc/neo/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/misc/neo/default.nix diff --git a/pkgs/applications/misc/neo/default.nix b/pkgs/applications/misc/neo/default.nix new file mode 100644 index 000000000000..fda086c49d57 --- /dev/null +++ b/pkgs/applications/misc/neo/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchurl, ncurses }: + +stdenv.mkDerivation rec { + pname = "neo"; + version = "0.6"; + + src = fetchurl { + url = "https://github.com/st3w/neo/releases/download/v${version}/neo-${version}.tar.gz"; + sha256 = "sha256-skXLT1td4dGdsu+wbX44Z2u5sDEOKXYVVys4Q6RayIk="; + }; + + buildInputs = [ ncurses ]; + + meta = with lib; { + description = ''Simulates the digital rain from "The Matrix"''; + license = licenses.gpl3Plus; + longDescription = '' + neo recreates the digital rain effect from "The Matrix". Streams of random + characters will endlessly scroll down your terminal screen. + ''; + homepage = "https://github.com/st3w/neo"; + platforms = ncurses.meta.platforms; + maintainers = [ maintainers.abbe ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b66badd5f85e..20c4555d3cc7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32729,6 +32729,8 @@ with pkgs; nar-serve = callPackage ../tools/nix/nar-serve { }; + neo = callPackage ../applications/misc/neo { }; + inherit (callPackage ../tools/package-management/nix { storeDir = config.nix.storeDir or "/nix/store"; stateDir = config.nix.stateDir or "/nix/var";