bpython: 0.12 -> 0.17
This commit is contained in:
parent
c463a8e0c5
commit
978a9ba0cd
27
pkgs/development/python-modules/bpython/default.nix
Normal file
27
pkgs/development/python-modules/bpython/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchurl, pygments, greenlet, curtsies, urwid, requests, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bpython";
|
||||||
|
version = "0.17";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
# 0.17 is still missing on PyPI, https://github.com/bpython/bpython/issues/706
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://bpython-interpreter.org/releases/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "13fyyx06645ikvmj9zmkixr12kzk1c3a3f9s9i2rvaczjycn82lz";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2078,23 +2078,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bpython = callPackage ../development/python-modules/bpython {};
|
||||||
bpython = buildPythonPackage rec {
|
|
||||||
name = "bpython-0.12";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "http://www.bpython-interpreter.org/releases/bpython-0.12.tar.gz";
|
|
||||||
sha256 = "1ilf58qq7sazmcgg4f1wswbhcn2gb8qbbrpgm6gf0j2lbm60gabl";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pygments ];
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "UNKNOWN";
|
|
||||||
homepage = "UNKNOWN";
|
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
bsddb3 = buildPythonPackage rec {
|
bsddb3 = buildPythonPackage rec {
|
||||||
name = "bsddb3-${version}";
|
name = "bsddb3-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user