Unverified Commit 59895163 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

hello: Adopting package and refactor (#351610)

parents cce80f87 4b599937
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
{ callPackage
, lib
, stdenv
, fetchurl
, nixos
, testers
, versionCheckHook
, hello
{
  callPackage,
  lib,
  stdenv,
  fetchurl,
  nixos,
  testers,
  versionCheckHook,
  hello,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -35,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {

  passthru.tests.run = callPackage ./test.nix { hello = finalAttrs.finalPackage; };

  meta = with lib; {
  meta = {
    description = "Program that produces a familiar, friendly greeting";
    longDescription = ''
      GNU Hello is a program that prints "Hello, world!" when you run it.
@@ -43,9 +44,9 @@ stdenv.mkDerivation (finalAttrs: {
    '';
    homepage = "https://www.gnu.org/software/hello/manual/";
    changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${finalAttrs.version}";
    license = licenses.gpl3Plus;
    maintainers = [ ];
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ stv0g ];
    mainProgram = "hello";
    platforms = platforms.all;
    platforms = lib.platforms.all;
  };
})