Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 41 lines 802 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytestCheckHook 6, setuptools_scm 7}: 8 9buildPythonPackage rec { 10 pname = "extension-helpers"; 11 version = "0.1"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "10iqjzmya2h4sk765dlm1pbqypwlqyh8rw59a5m9i63d3klnz2mc"; 17 }; 18 19 nativeBuildInputs = [ 20 setuptools_scm 21 ]; 22 23 propagatedBuildInputs = [ 24 pytestCheckHook 25 ]; 26 27 # avoid importing local module 28 preCheck = '' 29 cd extension_helpers 30 ''; 31 32 # assumes setup.py is in pwd 33 disabledTests = [ "compiler_module" ]; 34 35 meta = with lib; { 36 description = "Helpers to assist with building packages with compiled C/Cython extensions"; 37 homepage = "https://github.com/astropy/extension-helpers"; 38 license = licenses.bsd3; 39 maintainers = [ ]; 40 }; 41}