mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
python3Packages.asdf: unbreak
This commit is contained in:
parent
39df1e526d
commit
343015526e
@ -17,18 +17,13 @@ buildPythonPackage rec {
|
||||
pname = "asdf";
|
||||
version = "2.7.1";
|
||||
disabled = isPy27;
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4ba2e31cb24b974a10dfae3edee23db2e6bea2d00608604d062366aa3af6e81a";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "semantic_version>=2.3.1,<=2.6.0" "semantic_version>=2.3.1" \
|
||||
--replace "doctest_plus = enabled" ""
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytest-astropy
|
||||
astropy
|
||||
@ -45,7 +40,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
PY_IGNORE_IMPORTMISMATCH=1 pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user