mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
python3Packages.dsmr-parser: init at 0.29
This commit is contained in:
parent
5119a3386c
commit
af2ff60af0
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/dsmr-parser/default.nix
Normal file
41
pkgs/development/python-modules/dsmr-parser/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, tailer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dsmr-parser";
|
||||
version = "0.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ndokter";
|
||||
repo = "dsmr_parser";
|
||||
rev = "v${version}";
|
||||
sha256 = "11d6cwmabzc8p6jkqwj72nrj7p6cxbvr0x3jdrxyx6zki8chyw4p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
pytz
|
||||
tailer
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dsmr_parser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to parse Dutch Smart Meter Requirements (DSMR)";
|
||||
homepage = "https://github.com/ndokter/dsmr_parser";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2109,6 +2109,8 @@ in {
|
|||
|
||||
ds4drv = callPackage ../development/python-modules/ds4drv { };
|
||||
|
||||
dsmr-parser = callPackage ../development/python-modules/dsmr-parser { };
|
||||
|
||||
dtopt = callPackage ../development/python-modules/dtopt { };
|
||||
|
||||
duckdb = callPackage ../development/python-modules/duckdb {
|
||||
|
|
Loading…
Reference in a new issue