about summary refs log tree commit diff
path: root/pkgs/tools/misc/nms/default.nix
blob: cf890dc44956265517ae34ae58f6523e854b54a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "nms";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "bartobri";
    repo = "no-more-secrets";
    rev = "v${version}";
    sha256 = "sha256-QVCEpplsZCSQ+Fq1LBtCuPBvnzgLsmLcSrxR+e4nA5I=";
  };

  buildFlags = [ "nms" "sneakers" ];
  installFlags = [ "prefix=$(out)" ];

  meta = with 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 = [ ];
    platforms = platforms.unix;
  };
}