python312Packages.x690: init at 1.0.0

This commit is contained in:
Gaetan Lepage
2025-04-28 18:52:13 +02:00
parent 278e097eee
commit 1d6017043d
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
t61codec,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "x690";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "exhuma";
repo = "x690";
tag = "v${version}";
hash = "sha256-yU4FABlTAFoj87SJXDA+sVCJT3pCbYxpTXp7Ja2ltGE=";
};
build-system = [
setuptools
];
pythonRelaxDeps = [
"t61codec"
];
dependencies = [
t61codec
];
pythonImportsCheck = [ "x690" ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
disabledTests = [
# AssertionError: "<UnknownType 99 b'abc' TypeClass.APPLICATION/TypeNature.CONSTRUCTED/3>" != "<UnknownType 99 b'abc' application/constructed/3>"
"test_repr"
];
meta = {
description = "Pure Python X.690 implementation";
homepage = "https://github.com/exhuma/x690";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -19025,6 +19025,8 @@ self: super: with self; {
x256 = callPackage ../development/python-modules/x256 { };
x690 = callPackage ../development/python-modules/x690 { };
xapian = callPackage ../development/python-modules/xapian { inherit (pkgs) xapian; };
xarray = callPackage ../development/python-modules/xarray { };