2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray+=(CFLAGS="-O2 -std=c89")
|
|
|
|
'';
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 snow -t $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-30 08:33:03 +00:00
|
|
|
description = "Conceal messages in ASCII text by appending whitespace to the end of lines";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "snow";
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "http://www.darkside.com.au/snow/";
|
2022-01-07 04:07:37 +00:00
|
|
|
license = licenses.asl20;
|
2020-11-30 08:33:03 +00:00
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|