-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
36 lines (28 loc) · 848 Bytes
/
default.nix
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
32
33
34
35
36
{ nixpkgs ? import <nixpkgs> {} }:
let
inherit (nixpkgs) pkgs;
py = pkgs.python35Packages;
f = { mkDerivation ? pkgs.stdenv.mkDerivation,
python ? pkgs.python3,
bottle ? py.bottle,
pillow ? py.pillow,
pytest ? py.pytest,
pytestcov ? py.pytestcov,
swig3 ? pkgs.swig3,
requests ? py.requests2,
twisted ? py.twisted }:
mkDerivation {
name = "tbd-tournament-runner";
version = "0.1.0.0";
src = ./.;
buildInputs = [ python
bottle
pillow
pytest
pytestcov
swig3
requests
twisted ]; };
drv = pkgs.callPackage f {};
in
drv