at 24.11-pre 866 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fetchpatch, 6 pytestCheckHook, 7 setuptools, 8 stevedore, 9 wheel, 10}: 11 12buildPythonPackage rec { 13 pname = "plux"; 14 version = "1.5.0"; 15 pyproject = true; 16 17 # Tests are not available from PyPi 18 src = fetchFromGitHub { 19 owner = "localstack"; 20 repo = "plux"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-XHRQTgvxXJCjCD/9Invf/5OCtp12A5poRUv8tR9DJsk="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 wheel 28 ]; 29 30 propagatedBuildInputs = [ stevedore ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "plugin.core" ]; 35 36 meta = with lib; { 37 description = "Dynamic code loading framework for building pluggable Python distributions"; 38 homepage = "https://github.com/localstack/plux"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ jonringer ]; 41 }; 42}