Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { stdenv, fetchurl, perl }:
- stdenv.mkDerivation rec {
- name = "hello-${version}";
- version = "2.10";
- src = fetchurl {
- url = "https://github.com/wertarbyte/triggerhappy/archive/release/0.5.0.tar.gz";
- sha256 = "af0fc196202f2d35153be401769a9ad9107b5b6387146cfa8895ae9cafad631c";
- };
- buildInputs = [ perl ];
- installFlags = [ "DESTDIR=$(out)" ];
- patchPhase = ''
- substituteInPlace Makefile --replace "/sbin/" "/bin/"
- '';
- meta = with stdenv.lib; {
- 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 = licenses.gpl3Plus;
- maintainers = [ maintainers.eelco ];
- platforms = platforms.all;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement