Advertisement
Guest User

Untitled

a guest
Jul 7th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. { stdenv, fetchurl, perl }:
  2.  
  3. stdenv.mkDerivation rec {
  4. name = "hello-${version}";
  5. version = "2.10";
  6.  
  7. src = fetchurl {
  8. url = "https://github.com/wertarbyte/triggerhappy/archive/release/0.5.0.tar.gz";
  9. sha256 = "af0fc196202f2d35153be401769a9ad9107b5b6387146cfa8895ae9cafad631c";
  10. };
  11. buildInputs = [ perl ];
  12. installFlags = [ "DESTDIR=$(out)" ];
  13.  
  14. patchPhase = ''
  15. substituteInPlace Makefile --replace "/sbin/" "/bin/"
  16. '';
  17.  
  18. meta = with stdenv.lib; {
  19. description = "A program that produces a familiar, friendly greeting";
  20. longDescription = ''
  21. GNU Hello is a program that prints "Hello, world!" when you run it.
  22. It is fully customizable.
  23. '';
  24. homepage = http://www.gnu.org/software/hello/manual/;
  25. license = licenses.gpl3Plus;
  26. maintainers = [ maintainers.eelco ];
  27. platforms = platforms.all;
  28. };
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement