about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/dtopt/default.nix
blob: 84631c2170891257e28081b67b310ee752534d3b (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
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:

buildPythonPackage rec {
  pname = "dtopt";
  version = "0.1";
  # Test contain Python 2 print
  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f";
  };

  meta = with lib; {
    description = "Add options to doctest examples while they are running";
    homepage = "https://pypi.python.org/pypi/dtopt";
    license = licenses.mit;
  };

}