about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/nms/default.nix
blob: 8edddc4238dfcc5d4acced6256772f104c799f7d (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 = "0.3.3";

  src = fetchFromGitHub {
    owner = "bartobri";
    repo = "no-more-secrets";
    rev = "v${version}";
    sha256 = "1zfv4qabikf8w9winsr4brxrdvs3f0d7xvydksyx8bydadsm2v2h";
  };

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