mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
python.pkgs.six: 1.10.0 -> 1.11.0
This commit is contained in:
parent
9c5bf726e5
commit
5d21308f81
27
pkgs/development/python-modules/six/default.nix
Normal file
27
pkgs/development/python-modules/six/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "six";
|
||||||
|
version = "1.11.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test test_six.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Python 2 and 3 compatibility library";
|
||||||
|
homepage = http://pypi.python.org/pypi/six/;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -19539,25 +19539,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
six = buildPythonPackage rec {
|
six = callPackage ../development/python-modules/six { };
|
||||||
name = "six-1.10.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/six/${name}.tar.gz";
|
|
||||||
sha256 = "0snmb8xffb3vsma0z67i0h0w2g2dy0p3gsgh9gi4i0kgc5l8spqh";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test test_six.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A Python 2 and 3 compatibility library";
|
|
||||||
homepage = http://pypi.python.org/pypi/six/;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
skype4py = buildPythonPackage (rec {
|
skype4py = buildPythonPackage (rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user