Files
nixpkgs/pkgs/by-name/sn/snow/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
750 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;
};
}