depot/third_party/nixpkgs/pkgs/development/python-modules/dtopt/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

24 lines
497 B
Nix

{ 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;
};
}