1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5}:
6
7buildPythonPackage rec {
8 pname = "dtopt";
9 version = "0.1";
10 # Test contain Python 2 print
11 disabled = isPy3k;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f";
16 };
17
18 meta = with lib; {
19 description = "Add options to doctest examples while they are running";
20 homepage = "https://pypi.python.org/pypi/dtopt";
21 license = licenses.mit;
22 };
23
24}