at master 746 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "xmod"; 11 version = "1.8.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "rec"; 16 repo = "xmod"; 17 rev = "v${version}"; 18 hash = "sha256-pfFxtDQ4kaBrx4XzYMQO1vE4dUr2zs8jgGUQUdXB798="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 disabledTests = [ "test_partial_function" ]; 26 27 pythonImportsCheck = [ "xmod" ]; 28 29 meta = with lib; { 30 description = "Turn any object into a module"; 31 homepage = "https://github.com/rec/xmod"; 32 changelog = "https://github.com/rec/xmod/blob/${src.rev}/CHANGELOG"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}