mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python: remove name from some expressions
This commit is contained in:
parent
d31fb808af
commit
12c71b3dbe
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cement";
|
pname = "cement";
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "2.10.2";
|
version = "2.10.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ stdenv, fetchPypi, buildPythonPackage }:
|
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "colorama";
|
pname = "colorama";
|
||||||
version = "0.3.9";
|
version = "0.3.9";
|
||||||
|
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchurl
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, six, requests, websocket_client
|
, six, requests, websocket_client
|
||||||
, ipaddress, backports_ssl_match_hostname, docker_pycreds
|
, ipaddress, backports_ssl_match_hostname, docker_pycreds
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.7.0";
|
version = "2.7.0";
|
||||||
pname = "docker";
|
pname = "docker";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/d/docker/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c";
|
sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
, pytest }:
|
, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "requests";
|
pname = "requests";
|
||||||
version = "2.18.4";
|
version = "2.18.4";
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "semantic_version";
|
pname = "semantic_version";
|
||||||
version = "2.6.0";
|
version = "2.6.0";
|
||||||
name = "${pname}${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.8.2";
|
version = "0.8.2";
|
||||||
pname = "tabulate";
|
pname = "tabulate";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
Loading…
Reference in New Issue
Block a user