python3Packages.extension-helpers: init at 0.1

This commit is contained in:
Jonathan Ringer 2020-06-20 15:27:34 -07:00 committed by Jon
parent 3d95ed80b9
commit b5453127da
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytestCheckHook
, setuptools_scm
}:
buildPythonPackage rec {
pname = "extension-helpers";
version = "0.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "10iqjzmya2h4sk765dlm1pbqypwlqyh8rw59a5m9i63d3klnz2mc";
};
nativeBuildInputs = [
setuptools_scm
];
propagatedBuildInputs = [
pytestCheckHook
];
# avoid importing local module
preCheck = ''
cd extension_helpers
'';
# assumes setup.py is in pwd
disabledTests = [ "compiler_module" ];
meta = with lib; {
description = "Helpers to assist with building packages with compiled C/Cython extensions";
homepage = "https://github.com/astropy/extension-helpers";
license = licenses.bsd3;
maintainers = [ ];
};
}

View File

@ -6012,6 +6012,8 @@ in {
extras = callPackage ../development/python-modules/extras { };
extension-helpers = callPackage ../development/python-modules/extension-helpers { };
texttable = callPackage ../development/python-modules/texttable { };
textwrap3 = callPackage ../development/python-modules/textwrap3 { };