1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/python-modules/six/default.nix

30 lines
554 B
Nix
Raw Normal View History

2017-11-05 12:37:45 +00:00
{ 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
'';
# To prevent infinite recursion with pytest
doCheck = false;
2017-11-05 12:37:45 +00:00
meta = {
description = "A Python 2 and 3 compatibility library";
homepage = https://pypi.python.org/pypi/six/;
2017-11-05 12:37:45 +00:00
license = lib.licenses.mit;
};
}