mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
bpython: fetch from PyPi
0.17 recently got released on PyPi
This commit is contained in:
parent
846b5c42f1
commit
71c9ee7f9d
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user