pythonPackages.backports_abc: init at 0.4
This commit is contained in:
parent
67b8bd0b20
commit
0868a918a3
@ -1638,6 +1638,26 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
backports_abc = buildPythonPackage rec {
|
||||
name = "backports_abc-${version}";
|
||||
version = "0.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/backports_abc/${name}.tar.gz";
|
||||
sha256 = "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/cython/backports_abc;
|
||||
license = licenses.psfl;
|
||||
description = "A backport of recent additions to the 'collections.abc' module";
|
||||
};
|
||||
};
|
||||
|
||||
backports_shutil_get_terminal_size = if !(pythonOlder "3.3") then null else buildPythonPackage rec {
|
||||
name = "backports.shutil_get_terminal_size-${version}";
|
||||
version = "1.0.0";
|
||||
|
Loading…
Reference in New Issue
Block a user