Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.trx-python: init at 0.3

https://github.com/tee-ar-ex/trx-python

+67
+65
pkgs/development/python-modules/trx-python/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + cython, 6 + setuptools, 7 + setuptools-scm, 8 + deepdiff, 9 + nibabel, 10 + numpy, 11 + pytestCheckHook, 12 + psutil, 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "trx-python"; 17 + version = "0.3"; 18 + pyproject = true; 19 + 20 + src = fetchFromGitHub { 21 + owner = "tee-ar-ex"; 22 + repo = "trx-python"; 23 + rev = "refs/tags/${version}"; 24 + hash = "sha256-gKPgP3GJ7QY0Piylk5L0HxnscRCREP1Hm5HZufL2h5g="; 25 + }; 26 + 27 + build-system = [ 28 + cython 29 + setuptools 30 + setuptools-scm 31 + ]; 32 + 33 + dependencies = [ 34 + deepdiff 35 + nibabel 36 + numpy 37 + ]; 38 + 39 + pythonImportsCheck = [ "trx" ]; 40 + 41 + nativeCheckInputs = [ 42 + pytestCheckHook 43 + psutil 44 + ]; 45 + 46 + preCheck = '' 47 + export HOME=$TMPDIR 48 + ''; 49 + 50 + pytestFlagsArray = [ "trx/tests" ]; 51 + 52 + disabledTestPaths = [ 53 + # access to network 54 + "trx/tests/test_memmap.py" 55 + "trx/tests/test_io.py" 56 + ]; 57 + 58 + meta = { 59 + description = "Python implementation of the TRX file format"; 60 + homepage = "https://github.com/tee-ar-ex/trx-python"; 61 + changelog = "https://github.com/tee-ar-ex/trx-python/releases/tag/${version}"; 62 + license = lib.licenses.bsd2; 63 + maintainers = with lib.maintainers; [ ]; 64 + }; 65 + }
+2
pkgs/top-level/python-packages.nix
··· 16081 16082 truststore = callPackage ../development/python-modules/truststore { }; 16083 16084 trytond = callPackage ../development/python-modules/trytond { }; 16085 16086 ts1-signatures = callPackage ../development/python-modules/ts1-signatures { };
··· 16081 16082 truststore = callPackage ../development/python-modules/truststore { }; 16083 16084 + trx-python = callPackage ../development/python-modules/trx-python { }; 16085 + 16086 trytond = callPackage ../development/python-modules/trytond { }; 16087 16088 ts1-signatures = callPackage ../development/python-modules/ts1-signatures { };