2017-12-31 12:02:35 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "backports_abc";
|
2017-12-31 12:02:50 +01:00
|
|
|
version = "0.5";
|
2017-12-31 12:02:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-31 12:02:50 +01:00
|
|
|
sha256 = "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde";
|
2017-12-31 12:02:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/cython/backports_abc";
|
2017-12-31 12:02:35 +01:00
|
|
|
license = lib.licenses.psfl;
|
|
|
|
description = "A backport of recent additions to the 'collections.abc' module";
|
|
|
|
};
|
2020-04-01 03:11:51 +02:00
|
|
|
}
|