python: remove name from some expressions

This commit is contained in:
Robert Schütz
2018-02-26 08:14:56 +01:00
committed by Ruben Maher
parent d31fb808af
commit 12c71b3dbe
6 changed files with 4 additions and 10 deletions

View File

@@ -1,14 +1,13 @@
{ stdenv, buildPythonPackage, fetchurl
{ stdenv, buildPythonPackage, fetchPypi
, six, requests, websocket_client
, ipaddress, backports_ssl_match_hostname, docker_pycreds
}:
buildPythonPackage rec {
version = "2.7.0";
pname = "docker";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/docker/${name}.tar.gz";
src = fetchPypi {
inherit pname version;
sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c";
};