Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created February 15, 2018 13:15
Show Gist options
  • Save cleverca22/06ca28c95083d564cad827b09f3a2a89 to your computer and use it in GitHub Desktop.
Save cleverca22/06ca28c95083d564cad827b09f3a2a89 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "hello-2.10";
src = fetchurl {
url = "http://example.com/example.tar.gz";
sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq2i";
};
meta = {
description = "A program that produces a familiar, friendly greeting";
longDescription = ''
GNU Hello is a program that prints "Hello, world!" when you run it.
It is fully customizable.
'';
homepage = http://www.gnu.org/software/hello/manual/;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment