about summary refs log tree commit diff
path: root/packages/robloxenv/default.nix
blob: ca675e89ff5bfbc9722f7a68794351d39a3d6782 (plain) (blame)
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, python3 }:

python3.pkgs.buildPythonApplication rec {
  pname = "robloxenv";
  src = ./robloxenv.py;
  version = "0.1.0";
  format = "other";

  buildInputs = [ python3 ];
  propagatedBuildInputs = with python3.pkgs; [
    requests
    click
  ];

  dontUnpack = true;
  dontBuild = true;

  installPhase = ''
    mkdir -p $out/bin
    cp $src $out/bin/${pname}
  '';

  meta = with lib; {
    description = "This is a tool.";
    license = with licenses; [ mit ];
    platforms = platforms.unix;
    maintainers = with maintainers; [ fcuny ];
  };
}