pythonPackages.backports_weakref: init 1.0rc1
This commit is contained in:
parent
a869636e54
commit
70de5af18c
|
@ -0,0 +1,33 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
# , backports
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "backports.weakref";
|
||||
version = "1.0rc1";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14i8m3lspykdfpzf50grij3z286j9q8f32f2bnwdicv659qvy4w8";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
# checkInputs = [ backports ];
|
||||
|
||||
# Requires backports package
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Backports of new features in Python’s weakref module";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ jpbernardy ];
|
||||
};
|
||||
}
|
|
@ -27571,6 +27571,8 @@ EOF
|
|||
|
||||
preshed = callPackage ../development/python-modules/preshed { };
|
||||
|
||||
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
|
||||
|
||||
thinc = callPackage ../development/python-modules/thinc { };
|
||||
|
||||
spacy = callPackage ../development/python-modules/spacy { };
|
||||
|
@ -27580,8 +27582,9 @@ EOF
|
|||
pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };
|
||||
|
||||
parse = callPackage ../development/python-modules/parse { };
|
||||
|
||||
|
||||
parse-type = callPackage ../development/python-modules/parse-type { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
|
Loading…
Reference in a new issue