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