at master 848 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 stevedore, 8 wheel, 9}: 10 11buildPythonPackage rec { 12 pname = "plux"; 13 version = "1.13.0"; 14 pyproject = true; 15 16 # Tests are not available from PyPi 17 src = fetchFromGitHub { 18 owner = "localstack"; 19 repo = "plux"; 20 tag = "v${version}"; 21 hash = "sha256-daAFv5tIekWDq0iI/yolmuak0MMXXVCfAcbHcYY7Qd4="; 22 }; 23 24 build-system = [ 25 setuptools 26 wheel 27 ]; 28 29 dependencies = [ stevedore ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 preCheck = '' 34 export HOME=$TMPDIR 35 ''; 36 37 pythonImportsCheck = [ "plugin.core" ]; 38 39 meta = with lib; { 40 description = "Dynamic code loading framework for building pluggable Python distributions"; 41 homepage = "https://github.com/localstack/plux"; 42 license = licenses.asl20; 43 maintainers = [ ]; 44 }; 45}