Skip to content

Commit

Permalink
python: remove name from some expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz authored and eqyiel committed Feb 27, 2018
1 parent d31fb80 commit 12c71b3
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion pkgs/development/python-modules/cement/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

buildPythonPackage rec {
pname = "cement";
name = "${pname}-${version}";
version = "2.10.2";

src = fetchPypi {
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/colorama/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage }:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "colorama";
version = "0.3.9";

Expand Down
7 changes: 3 additions & 4 deletions pkgs/development/python-modules/docker/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/requests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, pytest }:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "requests";
version = "2.18.4";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
buildPythonPackage rec {
pname = "semantic_version";
version = "2.6.0";
name = "${pname}${version}";

src = fetchPypi {
inherit pname version;
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/python-modules/tabulate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
buildPythonPackage rec {
version = "0.8.2";
pname = "tabulate";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
Expand All @@ -25,4 +24,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
};
}
}

0 comments on commit 12c71b3

Please sign in to comment.