python3Packages.pysml: init at 0.0.5
This commit is contained in:
parent
9770439689
commit
6efcb19e74
37
pkgs/development/python-modules/pysml/default.nix
Normal file
37
pkgs/development/python-modules/pysml/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, async-timeout
|
||||
, bitstring
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysml";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mtdcr";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "05zgrk49b2y5jflxnjww2kqg1flynl3j4ifm0jr28nk0li5wg2bs";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
bitstring
|
||||
pyserial-asyncio
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sml" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for EDL21 smart meters using Smart Message Language (SML)";
|
||||
homepage = "https://github.com/mtdcr/pysml";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -6486,6 +6486,8 @@ in {
|
||||
|
||||
pysmi = callPackage ../development/python-modules/pysmi { };
|
||||
|
||||
pysml = callPackage ../development/python-modules/pysml { };
|
||||
|
||||
pysmt = callPackage ../development/python-modules/pysmt { };
|
||||
|
||||
pysnmp = callPackage ../development/python-modules/pysnmp { };
|
||||
|
Loading…
Reference in New Issue
Block a user