blob: cf5e836b94396adac3c7025de56a17b5994f075c (
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
30
31
|
{ lib, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "pizza";
src = ./pizza.py;
version = "0.1.0";
format = "other";
buildInputs = [ python3 ];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
prettytable
requests
termcolor
];
dontUnpack = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/${pname}
'';
meta = with lib; {
description = "Get the pizza for the week for CheeseBoard.";
license = with licenses; [ mit ];
platforms = platforms.unix;
maintainers = with maintainers; [ fcuny ];
};
}
|