summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bpython
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/bpython')
-rw-r--r--pkgs/development/python-modules/bpython/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/bpython/default.nix b/pkgs/development/python-modules/bpython/default.nix
index 515494b5f931..e0f953256b56 100644
--- a/pkgs/development/python-modules/bpython/default.nix
+++ b/pkgs/development/python-modules/bpython/default.nix
@@ -1,14 +1,13 @@
-{ stdenv, buildPythonPackage, fetchurl, pygments, greenlet, curtsies, urwid, requests, mock }:
+{ stdenv, buildPythonPackage, fetchPypi, 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";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1mbah208jhd7bsfaa17fwpi55f7fvif0ghjwgrjmpmx8w1vqab9l";
};
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];