diff --git a/pkgs/development/python-modules/dlms-cosem/default.nix b/pkgs/development/python-modules/dlms-cosem/default.nix index 8a27238765a2..ed9435cc8735 100644 --- a/pkgs/development/python-modules/dlms-cosem/default.nix +++ b/pkgs/development/python-modules/dlms-cosem/default.nix @@ -28,9 +28,9 @@ buildPythonPackage rec { hash = "sha256-ZsF+GUVG9bZNZE5daROQJIZZgqpjAkB/bFyre2oGu+E="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ asn1crypto attrs cryptography @@ -47,8 +47,8 @@ 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 ]; + changelog = "https://github.com/pwitab/dlms-cosem/blob/${src.tag}/HISTORY.md"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }