1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/six/default.nix
2020-02-09 09:17:31 +01:00

30 lines
554 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "six";
version = "1.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test test_six.py
'';
# To prevent infinite recursion with pytest
doCheck = false;
meta = {
description = "A Python 2 and 3 compatibility library";
homepage = https://pypi.python.org/pypi/six/;
license = lib.licenses.mit;
};
}