diff --git a/pkgs/tools/misc/nms/default.nix b/pkgs/tools/misc/nms/default.nix new file mode 100644 index 000000000000..3037262322f2 --- /dev/null +++ b/pkgs/tools/misc/nms/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "nms-${version}"; + version = "0.3.3"; + + src = fetchFromGitHub { + owner = "bartobri"; + repo = "no-more-secrets"; + rev = "v${version}"; + sha256 = "1zfv4qabikf8w9winsr4brxrdvs3f0d7xvydksyx8bydadsm2v2h"; + }; + + buildFlags = [ "nms" "sneakers" ]; + installFlags = [ "prefix=$(out)" ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/bartobri/no-more-secrets"; + description = '' + A command line tool that recreates the famous data decryption + effect seen in the 1992 movie Sneakers. + ''; + license = licenses.gpl3; + maintainers = [ maintainers.infinisil ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd2bf75a309f..8ac26897741d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4019,6 +4019,8 @@ with pkgs; nitrogen = callPackage ../tools/X11/nitrogen {}; + nms = callPackage ../tools/misc/nms { }; + notify-desktop = callPackage ../tools/misc/notify-desktop {}; nkf = callPackage ../tools/text/nkf {};