python3Packages.trsfile: init at 2.2.5

This commit is contained in:
Jb
2026-06-02 13:38:13 +02:00
parent 80af90c747
commit 5ab9958ecf
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
numpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "trsfile";
version = "2.2.5";
src = fetchFromGitHub {
owner = "Keysight";
repo = "python-trsfile";
rev = version;
hash = "sha256-mY4L1FFg2wDWAGVadOca7GDffA05O3v317SCqHxt4F0=";
};
pyproject = true;
SETUPTOOLS_SCM_PRETEND_VERSION = version;
build-system = [
setuptools
setuptools-scm
];
dependencies = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"trsfile"
];
meta = with lib; {
description = "Python library for reading/writing .trs files used by Riscure Inspector";
homepage = "https://github.com/Keysight/python-trsfile";
license = licenses.bsd3;
maintainers = with lib.maintainers; [ mach ];
};
}
+2
View File
@@ -20097,6 +20097,8 @@ self: super: with self; {
trove-classifiers = callPackage ../development/python-modules/trove-classifiers { };
trsfile = callPackage ../development/python-modules/trsfile { };
trubar = callPackage ../development/python-modules/trubar { };
trueskill = callPackage ../development/python-modules/trueskill { };