1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "nms";
9 version = "1.0.1";
10
11 src = fetchFromGitHub {
12 owner = "bartobri";
13 repo = "no-more-secrets";
14 rev = "v${version}";
15 sha256 = "sha256-QVCEpplsZCSQ+Fq1LBtCuPBvnzgLsmLcSrxR+e4nA5I=";
16 };
17
18 buildFlags = [
19 "nms"
20 "sneakers"
21 ];
22 installFlags = [ "prefix=$(out)" ];
23
24 meta = with lib; {
25 homepage = "https://github.com/bartobri/no-more-secrets";
26 description = ''
27 A command line tool that recreates the famous data decryption
28 effect seen in the 1992 movie Sneakers.
29 '';
30 license = licenses.gpl3;
31 maintainers = [ ];
32 platforms = platforms.unix;
33 };
34}