nixpkgs/pkgs/development/python-modules/bpython/default.nix

26 lines
729 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, pygments, greenlet, curtsies, urwid, requests, mock }:
2017-10-29 11:21:40 +01:00
buildPythonPackage rec {
pname = "bpython";
2018-02-17 14:18:42 +01:00
version = "0.17.1";
2017-10-29 11:21:40 +01:00
src = fetchPypi {
inherit pname version;
2018-02-17 14:18:42 +01:00
sha256 = "8907c510bca3c4d9bc0a157279bdc5e3b739cc68c0f247167279b6fe4becb02f";
2017-10-29 11:21:40 +01:00
};
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
checkInputs = [ mock ];
# tests fail: https://github.com/bpython/bpython/issues/712
doCheck = false;
meta = with stdenv.lib; {
description = "A fancy curses interface to the Python interactive interpreter";
homepage = "https://bpython-interpreter.org/";
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}