depot/third_party/nixpkgs/pkgs/tools/security/snow/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

28 lines
743 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "snow";
version = "20130616";
src = fetchurl {
url = "https://web.archive.org/web/20200304125913if_/http://darkside.com.au/snow/snow-${version}.tar.gz";
sha256 = "0r9q45y55z4i0askkxmxrx0jr1620ypd870vz0hx2a6n9skimdy0";
};
preBuild = ''
makeFlagsArray+=(CFLAGS="-O2 -std=c89")
'';
installPhase = ''
install -Dm755 snow -t $out/bin
'';
meta = with lib; {
description = "Conceal messages in ASCII text by appending whitespace to the end of lines";
mainProgram = "snow";
homepage = "http://www.darkside.com.au/snow/";
license = licenses.asl20;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}