mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
743 B
Nix
29 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;
|
|
};
|
|
}
|