git.iko.soy/typeable/nixpkgs
on master help sign in
bpython: 0.12 -> 0.17
commit978a9ba0cd649e65cb8abe720570f0e6c9dad7a2 authorFlorian Klink <flokli@flokli.de> dateSun 29 Oct 2017, 11:21 (9 years ago) parentc463a8e
2 files changed+28−17
pkgs/development/python-modules/bpython/default.nix+27 pkgs/top-level/python-packages.nix+1−17
pkgs/development/python-modules/bpython/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, buildPythonPackage, fetchurl, pygments, greenlet, curtsies, urwid, requests, mock }:
2+
3+buildPythonPackage rec {
4+ pname = "bpython";
5+ version = "0.17";
6+ name = "${pname}-${version}";
7+
8+ # 0.17 is still missing on PyPI, https://github.com/bpython/bpython/issues/706
9+ src = fetchurl {
10+ url = "https://bpython-interpreter.org/releases/${pname}-${version}.tar.gz";
11+ sha256 = "13fyyx06645ikvmj9zmkixr12kzk1c3a3f9s9i2rvaczjycn82lz";
12+ };
13+
14+ propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
15+
16+ checkInputs = [ mock ];
17+
18+ # tests fail: https://github.com/bpython/bpython/issues/712
19+ doCheck = false;
20+
21+ meta = with stdenv.lib; {
22+ description = "A fancy curses interface to the Python interactive interpreter";
23+ homepage = "https://bpython-interpreter.org/";
24+ license = licenses.mit;
25+ maintainers = with maintainers; [ flokli ];
26+ };
27+}
pkgs/top-level/python-packages.nix+1−17
@@ -2078,23 +2078,7 @@ in {
20782078 };
20792079 };
20802080
2081−
2082− bpython = buildPythonPackage rec {
2083− name = "bpython-0.12";
2084− src = pkgs.fetchurl {
2085− url = "http://www.bpython-interpreter.org/releases/bpython-0.12.tar.gz";
2086− sha256 = "1ilf58qq7sazmcgg4f1wswbhcn2gb8qbbrpgm6gf0j2lbm60gabl";
2087− };
2088−
2089− propagatedBuildInputs = with self; [ pygments ];
2090− doCheck = false;
2091−
2092− meta = {
2093− description = "UNKNOWN";
2094− homepage = "UNKNOWN";
2095− maintainers = with maintainers; [ domenkozar ];
2096− };
2097− };
2081+ bpython = callPackage ../development/python-modules/bpython {};
20982082
20992083 bsddb3 = buildPythonPackage rec {
21002084 name = "bsddb3-${version}";