3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #283266 from fabaff/dlms-cosem-bump

python311Packages.dlms-cosem: 21.3.2 -> 24.1.0
This commit is contained in:
Nick Cao 2024-01-24 08:54:05 -05:00 committed by GitHub
commit 0c6cabf6ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,29 +8,36 @@
, pytestCheckHook
, python-dateutil
, pythonOlder
, setuptools
, structlog
, typing-extensions
}:
buildPythonPackage rec {
pname = "dlms-cosem";
version = "21.3.2";
format = "setuptools";
version = "24.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pwitab";
repo = pname;
repo = "dlms-cosem";
rev = "refs/tags/${version}";
hash = "sha256-BrLanP+SIRRof15yzqwcDOxw92phbW7m9CfORz0xo7I=";
hash = "sha256-NeTaU8i18Zb39Y2JnYzr87Ozt7Rj074xusL4xaNe0q0=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
asn1crypto
attrs
cryptography
pyserial
python-dateutil
structlog
typing-extensions
];
@ -45,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module to parse DLMS/COSEM";
homepage = "https://github.com/pwitab/dlms-cosem";
changelog = "https://github.com/pwitab/dlms-cosem/blob/${version}/HISTORY.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};