summaryrefslogtreecommitdiff
path: root/templates/full/nix/packages/hello.nix
blob: 30cfc8d070bf0c5f83bc6979abe4b910a5034e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  stdenv,
  version,
  ...
}: let
  inherit (lib) licenses maintainers platforms;
in
  stdenv.mkDerivation rec {
    pname = "hello";
    inherit version;

    src = builtins.path {
      name = "${pname}-src";
      path = ./.;
    };

    installPhase = ''
      echo "hi" > $out
    '';

    meta = {
      description = "";
      homepage = "";
      license = licenses.mit;
      maintainers = [maintainers.getchoo];
      platforms = platforms.linux;
    };
  }