-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
45 lines (43 loc) · 1.31 KB
/
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
37
38
39
40
41
42
43
44
45
let
pkgs = import <nixpkgs> {};
hypothesisLatest = pkgs.python34Packages.buildPythonPackage rec {
name = "hypothesis-1.10.1";
doCheck = false;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/h/hypothesis/hypothesis-1.10.1.tar.gz";
md5 = "e8086239a853e1e873cc8074dfccfa74";
};
meta = with pkgs.stdenv.lib; {
description = "A Python library for property based testing";
homepage = https://github.com/DRMacIver/hypothesis;
license = licenses.mpl20;
};
};
in
{ stdenv ? pkgs.stdenv
, python ? pkgs.python3
, nose ? pkgs.python34Packages.nose
, coverage ? pkgs.python34Packages.coverage
, hypothesis ? hypothesisLatest
, graphviz ? pkgs.graphviz
, sqlite ? pkgs.sqlite
, tornado ? pkgs.python34Packages.tornado
, requests ? pkgs.python34Packages.requests2
, swig3 ? pkgs.swig3
, psutil ? pkgs.python34Packages.psutil
}:
stdenv.mkDerivation {
name = "icfpc2015-tbd";
version = "0.1.0.0";
src = ./.;
buildInputs = [ python
nose
coverage
hypothesis
graphviz
sqlite
tornado
requests
psutil
swig3 ];
}