python311Packages.xmod: init at 1.8.1

This commit is contained in:
Martin Weinelt 2024-03-12 15:09:02 +01:00
parent aeef6463dc
commit ef046a1fd4
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "xmod";
version = "1.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "rec";
repo = "xmod";
rev = "v${version}";
hash = "sha256-pfFxtDQ4kaBrx4XzYMQO1vE4dUr2zs8jgGUQUdXB798=";
};
build-system = [
poetry-core
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
"test_partial_function"
];
pythonImportsCheck = [
"xmod"
];
meta = with lib; {
description = "Turn any object into a module";
homepage = "https://github.com/rec/xmod";
changelog = "https://github.com/rec/xmod/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View File

@ -16673,6 +16673,8 @@ self: super: with self; {
xml-marshaller = callPackage ../development/python-modules/xml-marshaller { };
xmod = callPackage ../development/python-modules/xmod { };
xmodem = callPackage ../development/python-modules/xmodem { };
xnatpy = callPackage ../development/python-modules/xnatpy { };