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:
commit
0c6cabf6ab
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue